• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #include "ash/wm/workspace_controller_test_helper.h"
6 
7 #include "ash/wm/workspace_controller.h"
8 #include "ash/wm/workspace/workspace_event_handler_test_helper.h"
9 #include "ui/aura/window.h"
10 
11 namespace ash {
12 
WorkspaceControllerTestHelper(WorkspaceController * controller)13 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper(
14     WorkspaceController* controller)
15     : controller_(controller) {
16 }
17 
~WorkspaceControllerTestHelper()18 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() {
19 }
20 
GetEventHandler()21 WorkspaceEventHandler* WorkspaceControllerTestHelper::GetEventHandler() {
22   return controller_->event_handler_.get();
23 }
24 
25 MultiWindowResizeController*
GetMultiWindowResizeController()26 WorkspaceControllerTestHelper::GetMultiWindowResizeController() {
27   return WorkspaceEventHandlerTestHelper(GetEventHandler()).resize_controller();
28 }
29 
30 }  // namespace ash
31