Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: ash/test/shell_test_api.h

Issue 16463002: Change ordering of Shell event handlers: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 AshNativeCursorManager;
18 class Shell; 18 class Shell;
19 class LauncherModel; 19 class LauncherModel;
20 20
21 namespace internal { 21 namespace internal {
22 class DragDropController;
22 class RootWindowLayoutManager; 23 class RootWindowLayoutManager;
23 class ScreenPositionController; 24 class ScreenPositionController;
24 class SystemGestureEventFilter; 25 class SystemGestureEventFilter;
25 class WorkspaceController; 26 class WorkspaceController;
26 } // namespace internal 27 } // namespace internal
27 28
28 namespace test { 29 namespace test {
29 30
30 // Accesses private data from a Shell for testing. 31 // Accesses private data from a Shell for testing.
31 class ShellTestApi { 32 class ShellTestApi {
32 public: 33 public:
33 explicit ShellTestApi(Shell* shell); 34 explicit ShellTestApi(Shell* shell);
34 35
35 internal::RootWindowLayoutManager* root_window_layout(); 36 internal::RootWindowLayoutManager* root_window_layout();
36 views::corewm::InputMethodEventFilter* input_method_event_filter(); 37 views::corewm::InputMethodEventFilter* input_method_event_filter();
37 internal::SystemGestureEventFilter* system_gesture_event_filter(); 38 internal::SystemGestureEventFilter* system_gesture_event_filter();
38 internal::WorkspaceController* workspace_controller(); 39 internal::WorkspaceController* workspace_controller();
39 internal::ScreenPositionController* screen_position_controller(); 40 internal::ScreenPositionController* screen_position_controller();
40 AshNativeCursorManager* ash_native_cursor_manager(); 41 AshNativeCursorManager* ash_native_cursor_manager();
41 LauncherModel* launcher_model(); 42 LauncherModel* launcher_model();
43 internal::DragDropController* drag_drop_controller();
42 44
43 void DisableOutputConfiguratorAnimation(); 45 void DisableOutputConfiguratorAnimation();
44 46
45 private: 47 private:
46 Shell* shell_; // not owned 48 Shell* shell_; // not owned
47 49
48 DISALLOW_COPY_AND_ASSIGN(ShellTestApi); 50 DISALLOW_COPY_AND_ASSIGN(ShellTestApi);
49 }; 51 };
50 52
51 } // namespace test 53 } // namespace test
52 } // namespace ash 54 } // namespace ash
53 55
54 #endif // ASH_TEST_SHELL_TEST_API_H_ 56 #endif // ASH_TEST_SHELL_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698