| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 class ShellObserver; | 52 class ShellObserver; |
| 53 class SystemTrayDelegate; | 53 class SystemTrayDelegate; |
| 54 class SystemTrayNotifier; | 54 class SystemTrayNotifier; |
| 55 class ToastManager; | 55 class ToastManager; |
| 56 class WindowCycleController; | 56 class WindowCycleController; |
| 57 class WindowCycleEventFilter; | 57 class WindowCycleEventFilter; |
| 58 class WindowResizer; | 58 class WindowResizer; |
| 59 class WindowSelectorController; | 59 class WindowSelectorController; |
| 60 class WmActivationObserver; | 60 class WmActivationObserver; |
| 61 class WmDisplayObserver; | 61 class WmDisplayObserver; |
| 62 class WmImmersiveFullscreenController; |
| 62 class WmWindow; | 63 class WmWindow; |
| 63 | 64 |
| 64 enum class TaskSwitchSource; | 65 enum class TaskSwitchSource; |
| 65 | 66 |
| 66 namespace wm { | 67 namespace wm { |
| 67 class MaximizeModeEventHandler; | 68 class MaximizeModeEventHandler; |
| 68 class WindowState; | 69 class WindowState; |
| 69 } | 70 } |
| 70 | 71 |
| 71 #if defined(OS_CHROMEOS) | 72 #if defined(OS_CHROMEOS) |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 254 |
| 254 virtual std::unique_ptr<WindowCycleEventFilter> | 255 virtual std::unique_ptr<WindowCycleEventFilter> |
| 255 CreateWindowCycleEventFilter() = 0; | 256 CreateWindowCycleEventFilter() = 0; |
| 256 | 257 |
| 257 virtual std::unique_ptr<wm::MaximizeModeEventHandler> | 258 virtual std::unique_ptr<wm::MaximizeModeEventHandler> |
| 258 CreateMaximizeModeEventHandler() = 0; | 259 CreateMaximizeModeEventHandler() = 0; |
| 259 | 260 |
| 260 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 261 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 261 CreateScopedDisableInternalMouseAndKeyboard() = 0; | 262 CreateScopedDisableInternalMouseAndKeyboard() = 0; |
| 262 | 263 |
| 264 virtual std::unique_ptr<WmImmersiveFullscreenController> |
| 265 CreateImmersiveFullscreenController() = 0; |
| 266 |
| 263 // Called after maximize mode has started, windows might still animate though. | 267 // Called after maximize mode has started, windows might still animate though. |
| 264 void OnMaximizeModeStarted(); | 268 void OnMaximizeModeStarted(); |
| 265 | 269 |
| 266 // Called after maximize mode has ended, windows might still be returning to | 270 // Called after maximize mode has ended, windows might still be returning to |
| 267 // their original position. | 271 // their original position. |
| 268 void OnMaximizeModeEnded(); | 272 void OnMaximizeModeEnded(); |
| 269 | 273 |
| 270 // Called when the overview mode is about to be started (before the windows | 274 // Called when the overview mode is about to be started (before the windows |
| 271 // get re-arranged). | 275 // get re-arranged). |
| 272 virtual void OnOverviewModeStarting() = 0; | 276 virtual void OnOverviewModeStarting() = 0; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 bool simulate_modal_window_open_for_testing_ = false; | 391 bool simulate_modal_window_open_for_testing_ = false; |
| 388 | 392 |
| 389 #if defined(OS_CHROMEOS) | 393 #if defined(OS_CHROMEOS) |
| 390 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 394 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| 391 #endif | 395 #endif |
| 392 }; | 396 }; |
| 393 | 397 |
| 394 } // namespace ash | 398 } // namespace ash |
| 395 | 399 |
| 396 #endif // ASH_COMMON_WM_SHELL_H_ | 400 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |