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 namespace internal { 13 14 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper( 15 WorkspaceController* controller) 16 : controller_(controller) { 17 } 18 19 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() { 20 } 21 22 WorkspaceEventHandler* WorkspaceControllerTestHelper::GetEventHandler() { 23 return controller_->event_handler_.get(); 24 } 25 26 MultiWindowResizeController* 27 WorkspaceControllerTestHelper::GetMultiWindowResizeController() { 28 return WorkspaceEventHandlerTestHelper(GetEventHandler()).resize_controller(); 29 } 30 31 } // namespace internal 32 } // namespace ash 33