OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/wm/workspace_controller_test_helper.h" | 5 #include "ash/wm/workspace_controller_test_helper.h" |
6 | 6 |
7 #include "ash/common/test/workspace_event_handler_test_helper.h" | 7 #include "ash/test/workspace_event_handler_test_helper.h" |
8 #include "ash/common/wm/workspace_controller.h" | 8 #include "ash/wm/workspace_controller.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper( | 13 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper( |
14 WorkspaceController* controller) | 14 WorkspaceController* controller) |
15 : controller_(controller) {} | 15 : controller_(controller) {} |
16 | 16 |
17 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() {} | 17 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() {} |
18 | 18 |
19 WorkspaceEventHandler* WorkspaceControllerTestHelper::GetEventHandler() { | 19 WorkspaceEventHandler* WorkspaceControllerTestHelper::GetEventHandler() { |
20 return controller_->event_handler_.get(); | 20 return controller_->event_handler_.get(); |
21 } | 21 } |
22 | 22 |
23 MultiWindowResizeController* | 23 MultiWindowResizeController* |
24 WorkspaceControllerTestHelper::GetMultiWindowResizeController() { | 24 WorkspaceControllerTestHelper::GetMultiWindowResizeController() { |
25 return WorkspaceEventHandlerTestHelper(GetEventHandler()).resize_controller(); | 25 return WorkspaceEventHandlerTestHelper(GetEventHandler()).resize_controller(); |
26 } | 26 } |
27 | 27 |
28 } // namespace ash | 28 } // namespace ash |
OLD | NEW |