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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/test/shelf_view_test_api.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 wm { 10 namespace wm {
11 class InputMethodEventFilter; 11 class InputMethodEventFilter;
12 } // namespace wm 12 } // namespace wm
13 13
14 namespace ash { 14 namespace ash {
15 class AppListController;
15 class AshNativeCursorManager; 16 class AshNativeCursorManager;
16 class ShelfDelegate;
17 class ShelfModel;
18 class Shell;
19
20 namespace internal {
21 class AppListController;
22 class DragDropController; 17 class DragDropController;
23 class MaximizeModeWindowManager; 18 class MaximizeModeWindowManager;
24 class RootWindowLayoutManager; 19 class RootWindowLayoutManager;
25 class ScreenPositionController; 20 class ScreenPositionController;
21 class ShelfDelegate;
22 class ShelfModel;
23 class Shell;
26 class SystemGestureEventFilter; 24 class SystemGestureEventFilter;
27 class WorkspaceController; 25 class WorkspaceController;
28 } // namespace internal
29 26
30 namespace test { 27 namespace test {
31 28
32 // Accesses private data from a Shell for testing. 29 // Accesses private data from a Shell for testing.
33 class ShellTestApi { 30 class ShellTestApi {
34 public: 31 public:
35 explicit ShellTestApi(Shell* shell); 32 explicit ShellTestApi(Shell* shell);
36 33
37 internal::RootWindowLayoutManager* root_window_layout(); 34 RootWindowLayoutManager* root_window_layout();
38 ::wm::InputMethodEventFilter* input_method_event_filter(); 35 ::wm::InputMethodEventFilter* input_method_event_filter();
39 internal::SystemGestureEventFilter* system_gesture_event_filter(); 36 SystemGestureEventFilter* system_gesture_event_filter();
40 internal::WorkspaceController* workspace_controller(); 37 WorkspaceController* workspace_controller();
41 internal::ScreenPositionController* screen_position_controller(); 38 ScreenPositionController* screen_position_controller();
42 AshNativeCursorManager* ash_native_cursor_manager(); 39 AshNativeCursorManager* ash_native_cursor_manager();
43 ShelfModel* shelf_model(); 40 ShelfModel* shelf_model();
44 internal::DragDropController* drag_drop_controller(); 41 DragDropController* drag_drop_controller();
45 internal::AppListController* app_list_controller(); 42 AppListController* app_list_controller();
46 internal::MaximizeModeWindowManager* maximize_mode_window_manager(); 43 MaximizeModeWindowManager* maximize_mode_window_manager();
47 void DisableOutputConfiguratorAnimation(); 44 void DisableOutputConfiguratorAnimation();
48 45
49 // Set ShelfDelegate. 46 // Set ShelfDelegate.
50 void SetShelfDelegate(ShelfDelegate* delegate); 47 void SetShelfDelegate(ShelfDelegate* delegate);
51 48
52 private: 49 private:
53 Shell* shell_; // not owned 50 Shell* shell_; // not owned
54 51
55 DISALLOW_COPY_AND_ASSIGN(ShellTestApi); 52 DISALLOW_COPY_AND_ASSIGN(ShellTestApi);
56 }; 53 };
57 54
58 } // namespace test 55 } // namespace test
59 } // namespace ash 56 } // namespace ash
60 57
61 #endif // ASH_TEST_SHELL_TEST_API_H_ 58 #endif // ASH_TEST_SHELL_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/shelf_view_test_api.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698