| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Invoked after a non-primary root window is created. | 35 // Invoked after a non-primary root window is created. |
| 36 virtual void OnRootWindowAdded(aura::Window* root_window) {} | 36 virtual void OnRootWindowAdded(aura::Window* root_window) {} |
| 37 | 37 |
| 38 // Invoked after the shelf has been created for |root_window|. | 38 // Invoked after the shelf has been created for |root_window|. |
| 39 virtual void OnShelfCreatedForRootWindow(aura::Window* root_window) {} | 39 virtual void OnShelfCreatedForRootWindow(aura::Window* root_window) {} |
| 40 | 40 |
| 41 // Invoked when the shelf alignment in |root_window| is changed. | 41 // Invoked when the shelf alignment in |root_window| is changed. |
| 42 virtual void OnShelfAlignmentChanged(aura::Window* root_window) {} | 42 virtual void OnShelfAlignmentChanged(aura::Window* root_window) {} |
| 43 | 43 |
| 44 // Invoked when the shelf auto-hide behavior in |root_window| is changed. |
| 45 virtual void OnShelfAutoHideBehaviorChanged(aura::Window* root_window) {} |
| 46 |
| 44 // Invoked when the projection touch HUD is toggled. | 47 // Invoked when the projection touch HUD is toggled. |
| 45 virtual void OnTouchHudProjectionToggled(bool enabled) {} | 48 virtual void OnTouchHudProjectionToggled(bool enabled) {} |
| 46 | 49 |
| 47 // Invoked when entering or exiting fullscreen mode in |root_window|. | 50 // Invoked when entering or exiting fullscreen mode in |root_window|. |
| 48 virtual void OnFullscreenStateChanged(bool is_fullscreen, | 51 virtual void OnFullscreenStateChanged(bool is_fullscreen, |
| 49 aura::Window* root_window) {} | 52 aura::Window* root_window) {} |
| 50 | 53 |
| 51 // Called when the overview mode is about to be started (before the windows | 54 // Called when the overview mode is about to be started (before the windows |
| 52 // get re-arranged). | 55 // get re-arranged). |
| 53 virtual void OnOverviewModeStarting() {} | 56 virtual void OnOverviewModeStarting() {} |
| (...skipping 12 matching lines...) Expand all Loading... |
| 66 // Called at the end of Shell::Init. | 69 // Called at the end of Shell::Init. |
| 67 virtual void OnShellInitialized() {} | 70 virtual void OnShellInitialized() {} |
| 68 | 71 |
| 69 protected: | 72 protected: |
| 70 virtual ~ShellObserver() {} | 73 virtual ~ShellObserver() {} |
| 71 }; | 74 }; |
| 72 | 75 |
| 73 } // namespace ash | 76 } // namespace ash |
| 74 | 77 |
| 75 #endif // ASH_SHELL_OBSERVER_H_ | 78 #endif // ASH_SHELL_OBSERVER_H_ |
| OLD | NEW |