Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / ash / wm / workspace / workspace_event_handler_test_helper.h
blob21e1adb981b029c15bc004acb0d2375df36cb946
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 #ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
8 #include "ash/wm/workspace/workspace_event_handler.h"
10 namespace ash {
11 namespace internal {
13 class WorkspaceEventHandlerTestHelper {
14 public:
15 explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler);
16 ~WorkspaceEventHandlerTestHelper();
18 MultiWindowResizeController* resize_controller() {
19 return &(handler_->multi_window_resize_controller_);
22 private:
23 WorkspaceEventHandler* handler_;
25 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper);
28 } // namespace internal
29 } // namespace ash
31 #endif // ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_