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