| OLD | NEW |
| 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_SHELL_OBSERVER_H_ | 5 #ifndef ASH_SHELL_OBSERVER_H_ |
| 6 #define ASH_SHELL_OBSERVER_H_ | 6 #define ASH_SHELL_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/system/user/login_status.h" | 9 #include "ash/system/user/login_status.h" |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void OnTouchHudProjectionToggled(bool enabled) {} | 42 virtual void OnTouchHudProjectionToggled(bool enabled) {} |
| 43 | 43 |
| 44 // Invoked when entering or exiting fullscreen mode in |root_window|. | 44 // Invoked when entering or exiting fullscreen mode in |root_window|. |
| 45 virtual void OnFullscreenStateChanged(bool is_fullscreen, | 45 virtual void OnFullscreenStateChanged(bool is_fullscreen, |
| 46 aura::Window* root_window) {} | 46 aura::Window* root_window) {} |
| 47 | 47 |
| 48 // Called when the overview mode is about to be started (before the windows | 48 // Called when the overview mode is about to be started (before the windows |
| 49 // get re-arranged). | 49 // get re-arranged). |
| 50 virtual void OnOverviewModeStarting() {} | 50 virtual void OnOverviewModeStarting() {} |
| 51 | 51 |
| 52 // Called before the overview mode is ending (before the windows get arranged | 52 // Called after overview mode has ended. |
| 53 // to their final position). | 53 virtual void OnOverviewModeEnded() {} |
| 54 virtual void OnOverviewModeEnding() {} | |
| 55 | 54 |
| 56 // Called when the always maximize mode has started. Windows might still | 55 // Called when the always maximize mode has started. Windows might still |
| 57 // animate though. | 56 // animate though. |
| 58 virtual void OnMaximizeModeStarted() {} | 57 virtual void OnMaximizeModeStarted() {} |
| 59 | 58 |
| 60 // Called when the always maximize mode has ended. Windows may still be | 59 // Called when the always maximize mode has ended. Windows may still be |
| 61 // animating but have been restored. | 60 // animating but have been restored. |
| 62 virtual void OnMaximizeModeEnded() {} | 61 virtual void OnMaximizeModeEnded() {} |
| 63 | 62 |
| 64 protected: | 63 protected: |
| 65 virtual ~ShellObserver() {} | 64 virtual ~ShellObserver() {} |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace ash | 67 } // namespace ash |
| 69 | 68 |
| 70 #endif // ASH_SHELL_OBSERVER_H_ | 69 #endif // ASH_SHELL_OBSERVER_H_ |
| OLD | NEW |