Fix mouse warp with 2x displays
[chromium-blink-merge.git] / ash / wm / workspace_controller_test_helper.cc
blob9cab7b5636d0bfd7c49604047ec75a7a6d9c218a
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ash/wm/workspace_controller_test_helper.h"
7 #include "ash/wm/workspace_controller.h"
8 #include "ash/wm/workspace/workspace_event_handler_test_helper.h"
9 #include "ui/aura/window.h"
11 namespace ash {
13 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper(
14 WorkspaceController* controller)
15 : controller_(controller) {
18 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() {
21 WorkspaceEventHandler* WorkspaceControllerTestHelper::GetEventHandler() {
22 return controller_->event_handler_.get();
25 MultiWindowResizeController*
26 WorkspaceControllerTestHelper::GetMultiWindowResizeController() {
27 return WorkspaceEventHandlerTestHelper(GetEventHandler()).resize_controller();
30 } // namespace ash