| 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_TEST_SHELL_TEST_API_H_ | 5 #ifndef ASH_TEST_SHELL_TEST_API_H_ |
| 6 #define ASH_TEST_SHELL_TEST_API_H_ | 6 #define ASH_TEST_SHELL_TEST_API_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| 11 namespace corewm { | 11 namespace corewm { |
| 12 class InputMethodEventFilter; | 12 class InputMethodEventFilter; |
| 13 } // namespace corewm | 13 } // namespace corewm |
| 14 } // namespace views | 14 } // namespace views |
| 15 | 15 |
| 16 namespace ash { | 16 namespace ash { |
| 17 class AshNativeCursorManager; |
| 17 class Shell; | 18 class Shell; |
| 18 class LauncherModel; | 19 class LauncherModel; |
| 19 | 20 |
| 20 namespace internal { | 21 namespace internal { |
| 21 class RootWindowLayoutManager; | 22 class RootWindowLayoutManager; |
| 22 class ScreenPositionController; | 23 class ScreenPositionController; |
| 23 class SystemGestureEventFilter; | 24 class SystemGestureEventFilter; |
| 24 class WorkspaceController; | 25 class WorkspaceController; |
| 25 } // namespace internal | 26 } // namespace internal |
| 26 | 27 |
| 27 namespace test { | 28 namespace test { |
| 28 | 29 |
| 29 // Accesses private data from a Shell for testing. | 30 // Accesses private data from a Shell for testing. |
| 30 class ShellTestApi { | 31 class ShellTestApi { |
| 31 public: | 32 public: |
| 32 explicit ShellTestApi(Shell* shell); | 33 explicit ShellTestApi(Shell* shell); |
| 33 | 34 |
| 34 internal::RootWindowLayoutManager* root_window_layout(); | 35 internal::RootWindowLayoutManager* root_window_layout(); |
| 35 views::corewm::InputMethodEventFilter* input_method_event_filter(); | 36 views::corewm::InputMethodEventFilter* input_method_event_filter(); |
| 36 internal::SystemGestureEventFilter* system_gesture_event_filter(); | 37 internal::SystemGestureEventFilter* system_gesture_event_filter(); |
| 37 internal::WorkspaceController* workspace_controller(); | 38 internal::WorkspaceController* workspace_controller(); |
| 38 internal::ScreenPositionController* screen_position_controller(); | 39 internal::ScreenPositionController* screen_position_controller(); |
| 40 AshNativeCursorManager* ash_native_cursor_manager(); |
| 39 LauncherModel* launcher_model(); | 41 LauncherModel* launcher_model(); |
| 40 | 42 |
| 41 private: | 43 private: |
| 42 Shell* shell_; // not owned | 44 Shell* shell_; // not owned |
| 43 | 45 |
| 44 DISALLOW_COPY_AND_ASSIGN(ShellTestApi); | 46 DISALLOW_COPY_AND_ASSIGN(ShellTestApi); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace test | 49 } // namespace test |
| 48 } // namespace ash | 50 } // namespace ash |
| 49 | 51 |
| 50 #endif // ASH_TEST_SHELL_TEST_API_H_ | 52 #endif // ASH_TEST_SHELL_TEST_API_H_ |
| OLD | NEW |