| 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/login_status.h" | 9 #include "ash/login_status.h" |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 virtual void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {} | 34 virtual void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {} |
| 35 | 35 |
| 36 // Invoked when the projection touch HUD is toggled. | 36 // Invoked when the projection touch HUD is toggled. |
| 37 virtual void OnTouchHudProjectionToggled(bool enabled) {} | 37 virtual void OnTouchHudProjectionToggled(bool enabled) {} |
| 38 | 38 |
| 39 // Invoked when entering or exiting fullscreen mode in |root_window|. | 39 // Invoked when entering or exiting fullscreen mode in |root_window|. |
| 40 virtual void OnFullscreenStateChanged(bool is_fullscreen, | 40 virtual void OnFullscreenStateChanged(bool is_fullscreen, |
| 41 WmWindow* root_window) {} | 41 WmWindow* root_window) {} |
| 42 | 42 |
| 43 // Invoked when |pinned_window| enter or exit pinned mode. | 43 // Invoked when |pinned_window| enter or exit pinned mode. |
| 44 virtual void OnPinnedStateChanged(WmWindow* pinned_window) {} | 44 virtual void OnPinnedStateChanged(aura::Window* pinned_window) {} |
| 45 | 45 |
| 46 // Called when the overview mode is about to be started (before the windows | 46 // Called when the overview mode is about to be started (before the windows |
| 47 // get re-arranged). | 47 // get re-arranged). |
| 48 virtual void OnOverviewModeStarting() {} | 48 virtual void OnOverviewModeStarting() {} |
| 49 | 49 |
| 50 // Called after overview mode has ended. | 50 // Called after overview mode has ended. |
| 51 virtual void OnOverviewModeEnded() {} | 51 virtual void OnOverviewModeEnded() {} |
| 52 | 52 |
| 53 // Called when the always maximize mode has started. Windows might still | 53 // Called when the always maximize mode has started. Windows might still |
| 54 // animate though. | 54 // animate though. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 68 // Called at the end of Shell::Init. | 68 // Called at the end of Shell::Init. |
| 69 virtual void OnShellInitialized() {} | 69 virtual void OnShellInitialized() {} |
| 70 | 70 |
| 71 protected: | 71 protected: |
| 72 virtual ~ShellObserver() {} | 72 virtual ~ShellObserver() {} |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace ash | 75 } // namespace ash |
| 76 | 76 |
| 77 #endif // ASH_SHELL_OBSERVER_H_ | 77 #endif // ASH_SHELL_OBSERVER_H_ |
| OLD | NEW |