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

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

Issue 2932563002: Implement cursor changing on Mushrome (Closed)
Patch Set: oshima patch take 2 Created 3 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
« no previous file with comments | « ash/test/cursor_manager_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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace ash { 12 namespace ash {
13 class AshNativeCursorManager; 13 class NativeCursorManagerAsh;
14 class DragDropController; 14 class DragDropController;
15 class MaximizeModeWindowManager; 15 class MaximizeModeWindowManager;
16 class PaletteDelegate; 16 class PaletteDelegate;
17 class ScreenPositionController; 17 class ScreenPositionController;
18 class Shell; 18 class Shell;
19 class SystemGestureEventFilter; 19 class SystemGestureEventFilter;
20 class WorkspaceController; 20 class WorkspaceController;
21 21
22 namespace test { 22 namespace test {
23 23
24 // Accesses private data from a Shell for testing. 24 // Accesses private data from a Shell for testing.
25 class ShellTestApi { 25 class ShellTestApi {
26 public: 26 public:
27 ShellTestApi(); 27 ShellTestApi();
28 explicit ShellTestApi(Shell* shell); 28 explicit ShellTestApi(Shell* shell);
29 29
30 SystemGestureEventFilter* system_gesture_event_filter(); 30 SystemGestureEventFilter* system_gesture_event_filter();
31 WorkspaceController* workspace_controller(); 31 WorkspaceController* workspace_controller();
32 ScreenPositionController* screen_position_controller(); 32 ScreenPositionController* screen_position_controller();
33 AshNativeCursorManager* ash_native_cursor_manager(); 33 NativeCursorManagerAsh* native_cursor_manager_ash();
34 DragDropController* drag_drop_controller(); 34 DragDropController* drag_drop_controller();
35 MaximizeModeWindowManager* maximize_mode_window_manager(); 35 MaximizeModeWindowManager* maximize_mode_window_manager();
36 36
37 void SetPaletteDelegate(std::unique_ptr<PaletteDelegate> palette_delegate); 37 void SetPaletteDelegate(std::unique_ptr<PaletteDelegate> palette_delegate);
38 38
39 private: 39 private:
40 Shell* shell_; // not owned 40 Shell* shell_; // not owned
41 41
42 DISALLOW_COPY_AND_ASSIGN(ShellTestApi); 42 DISALLOW_COPY_AND_ASSIGN(ShellTestApi);
43 }; 43 };
44 44
45 } // namespace test 45 } // namespace test
46 } // namespace ash 46 } // namespace ash
47 47
48 #endif // ASH_TEST_SHELL_TEST_API_H_ 48 #endif // ASH_TEST_SHELL_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/cursor_manager_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