OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WM_SHELL_H_ | 5 #ifndef ASH_COMMON_WM_SHELL_H_ |
6 #define ASH_COMMON_WM_SHELL_H_ | 6 #define ASH_COMMON_WM_SHELL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 class KeyEventWatcher; | 58 class KeyEventWatcher; |
59 class KeyboardBrightnessControlDelegate; | 59 class KeyboardBrightnessControlDelegate; |
60 class KeyboardUI; | 60 class KeyboardUI; |
61 class LocaleNotificationController; | 61 class LocaleNotificationController; |
62 class LogoutConfirmationController; | 62 class LogoutConfirmationController; |
63 class MaximizeModeController; | 63 class MaximizeModeController; |
64 class MediaController; | 64 class MediaController; |
65 class MruWindowTracker; | 65 class MruWindowTracker; |
66 class NewWindowController; | 66 class NewWindowController; |
67 class PaletteDelegate; | 67 class PaletteDelegate; |
| 68 class RootWindowController; |
68 class ScopedDisableInternalMouseAndKeyboard; | 69 class ScopedDisableInternalMouseAndKeyboard; |
69 class SessionController; | 70 class SessionController; |
70 class SessionStateDelegate; | 71 class SessionStateDelegate; |
71 class ShelfController; | 72 class ShelfController; |
72 class ShelfDelegate; | 73 class ShelfDelegate; |
73 class ShelfModel; | 74 class ShelfModel; |
74 class ShelfWindowWatcher; | 75 class ShelfWindowWatcher; |
75 class ShellDelegate; | 76 class ShellDelegate; |
76 class ShellObserver; | 77 class ShellObserver; |
77 class ShutdownController; | 78 class ShutdownController; |
78 class SystemTrayDelegate; | 79 class SystemTrayDelegate; |
79 class SystemTrayController; | 80 class SystemTrayController; |
80 class SystemTrayNotifier; | 81 class SystemTrayNotifier; |
81 class ToastManager; | 82 class ToastManager; |
82 class VpnList; | 83 class VpnList; |
83 class WallpaperController; | 84 class WallpaperController; |
84 class WallpaperDelegate; | 85 class WallpaperDelegate; |
85 class WindowCycleController; | 86 class WindowCycleController; |
86 class WindowCycleEventFilter; | 87 class WindowCycleEventFilter; |
87 class WindowResizer; | 88 class WindowResizer; |
88 class WindowSelectorController; | 89 class WindowSelectorController; |
89 class WmActivationObserver; | 90 class WmActivationObserver; |
90 class WmDisplayObserver; | 91 class WmDisplayObserver; |
91 class WmRootWindowController; | |
92 class WmWindow; | 92 class WmWindow; |
93 class WorkspaceEventHandler; | 93 class WorkspaceEventHandler; |
94 | 94 |
95 enum class LoginStatus; | 95 enum class LoginStatus; |
96 enum class TaskSwitchSource; | 96 enum class TaskSwitchSource; |
97 | 97 |
98 namespace wm { | 98 namespace wm { |
99 class MaximizeModeEventHandler; | 99 class MaximizeModeEventHandler; |
100 class WindowState; | 100 class WindowState; |
101 } | 101 } |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, | 219 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, |
220 ui::LayerType layer_type) = 0; | 220 ui::LayerType layer_type) = 0; |
221 | 221 |
222 virtual WmWindow* GetFocusedWindow() = 0; | 222 virtual WmWindow* GetFocusedWindow() = 0; |
223 virtual WmWindow* GetActiveWindow() = 0; | 223 virtual WmWindow* GetActiveWindow() = 0; |
224 | 224 |
225 virtual WmWindow* GetCaptureWindow() = 0; | 225 virtual WmWindow* GetCaptureWindow() = 0; |
226 | 226 |
227 // Convenience for GetPrimaryRootWindow()->GetRootWindowController(). | 227 // Convenience for GetPrimaryRootWindow()->GetRootWindowController(). |
228 WmRootWindowController* GetPrimaryRootWindowController(); | 228 RootWindowController* GetPrimaryRootWindowController(); |
229 | 229 |
230 virtual WmWindow* GetPrimaryRootWindow() = 0; | 230 virtual WmWindow* GetPrimaryRootWindow() = 0; |
231 | 231 |
232 // Returns the root window for the specified display. | 232 // Returns the root window for the specified display. |
233 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0; | 233 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0; |
234 | 234 |
235 // Returns the root window that newly created windows should be added to. | 235 // Returns the root window that newly created windows should be added to. |
236 // Value can be temporarily overridden using ScopedRootWindowForNewWindows. | 236 // Value can be temporarily overridden using ScopedRootWindowForNewWindows. |
237 // NOTE: this returns the root, newly created window should be added to the | 237 // NOTE: this returns the root, newly created window should be added to the |
238 // appropriate container in the returned window. | 238 // appropriate container in the returned window. |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 WmWindow* scoped_root_window_for_new_windows_ = nullptr; | 528 WmWindow* scoped_root_window_for_new_windows_ = nullptr; |
529 | 529 |
530 bool simulate_modal_window_open_for_testing_ = false; | 530 bool simulate_modal_window_open_for_testing_ = false; |
531 | 531 |
532 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 532 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
533 }; | 533 }; |
534 | 534 |
535 } // namespace ash | 535 } // namespace ash |
536 | 536 |
537 #endif // ASH_COMMON_WM_SHELL_H_ | 537 #endif // ASH_COMMON_WM_SHELL_H_ |
OLD | NEW |