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 #ifndef ASH_COMMON_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ | 5 #ifndef ASH_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ |
6 #define ASH_COMMON_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ | 6 #define ASH_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ |
7 | 7 |
8 #include "ash/common/wm/workspace/workspace_event_handler.h" | 8 #include "ash/wm/workspace/workspace_event_handler.h" |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 class WorkspaceEventHandlerTestHelper { | 14 class WorkspaceEventHandlerTestHelper { |
15 public: | 15 public: |
16 explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler); | 16 explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler); |
17 ~WorkspaceEventHandlerTestHelper(); | 17 ~WorkspaceEventHandlerTestHelper(); |
18 | 18 |
19 MultiWindowResizeController* resize_controller() { | 19 MultiWindowResizeController* resize_controller() { |
20 return &(handler_->multi_window_resize_controller_); | 20 return &(handler_->multi_window_resize_controller_); |
21 } | 21 } |
22 | 22 |
23 private: | 23 private: |
24 WorkspaceEventHandler* handler_; | 24 WorkspaceEventHandler* handler_; |
25 | 25 |
26 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper); | 26 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace ash | 29 } // namespace ash |
30 | 30 |
31 #endif // ASH_COMMON_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ | 31 #endif // ASH_TEST_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_ |
OLD | NEW |