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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 class SystemTrayNotifier; | 57 class SystemTrayNotifier; |
58 class ToastManager; | 58 class ToastManager; |
59 class WallpaperDelegate; | 59 class WallpaperDelegate; |
60 class WindowCycleController; | 60 class WindowCycleController; |
61 class WindowCycleEventFilter; | 61 class WindowCycleEventFilter; |
62 class WindowResizer; | 62 class WindowResizer; |
63 class WindowSelectorController; | 63 class WindowSelectorController; |
64 class WmActivationObserver; | 64 class WmActivationObserver; |
65 class WmDisplayObserver; | 65 class WmDisplayObserver; |
66 class WmWindow; | 66 class WmWindow; |
67 class WorkspaceEventHandler; | |
67 | 68 |
68 enum class TaskSwitchSource; | 69 enum class TaskSwitchSource; |
69 | 70 |
70 namespace wm { | 71 namespace wm { |
71 class MaximizeModeEventHandler; | 72 class MaximizeModeEventHandler; |
72 class WindowState; | 73 class WindowState; |
73 } | 74 } |
74 | 75 |
75 #if defined(OS_CHROMEOS) | 76 #if defined(OS_CHROMEOS) |
76 class LogoutConfirmationController; | 77 class LogoutConfirmationController; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 virtual std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 264 virtual std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
264 std::unique_ptr<WindowResizer> next_window_resizer, | 265 std::unique_ptr<WindowResizer> next_window_resizer, |
265 wm::WindowState* window_state) = 0; | 266 wm::WindowState* window_state) = 0; |
266 | 267 |
267 virtual std::unique_ptr<WindowCycleEventFilter> | 268 virtual std::unique_ptr<WindowCycleEventFilter> |
268 CreateWindowCycleEventFilter() = 0; | 269 CreateWindowCycleEventFilter() = 0; |
269 | 270 |
270 virtual std::unique_ptr<wm::MaximizeModeEventHandler> | 271 virtual std::unique_ptr<wm::MaximizeModeEventHandler> |
271 CreateMaximizeModeEventHandler() = 0; | 272 CreateMaximizeModeEventHandler() = 0; |
272 | 273 |
274 // This may return null. | |
James Cook
2016/08/26 19:07:16
In tests? In this CL it's non-null for both aura a
sky
2016/08/26 20:19:16
I'm going to remove the comment now that it always
| |
275 virtual std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( | |
276 WmWindow* workspace_window) = 0; | |
277 | |
273 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 278 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
274 CreateScopedDisableInternalMouseAndKeyboard() = 0; | 279 CreateScopedDisableInternalMouseAndKeyboard() = 0; |
275 | 280 |
276 virtual std::unique_ptr<ImmersiveFullscreenController> | 281 virtual std::unique_ptr<ImmersiveFullscreenController> |
277 CreateImmersiveFullscreenController() = 0; | 282 CreateImmersiveFullscreenController() = 0; |
278 | 283 |
279 void CreateShelfDelegate(); | 284 void CreateShelfDelegate(); |
280 | 285 |
281 // Called after maximize mode has started, windows might still animate though. | 286 // Called after maximize mode has started, windows might still animate though. |
282 void OnMaximizeModeStarted(); | 287 void OnMaximizeModeStarted(); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
424 bool simulate_modal_window_open_for_testing_ = false; | 429 bool simulate_modal_window_open_for_testing_ = false; |
425 | 430 |
426 #if defined(OS_CHROMEOS) | 431 #if defined(OS_CHROMEOS) |
427 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 432 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
428 #endif | 433 #endif |
429 }; | 434 }; |
430 | 435 |
431 } // namespace ash | 436 } // namespace ash |
432 | 437 |
433 #endif // ASH_COMMON_WM_SHELL_H_ | 438 #endif // ASH_COMMON_WM_SHELL_H_ |
OLD | NEW |