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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(WmWindow* 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 tablet mode has started. Windows might still |
54 // animate though. | 54 // animate though. |
55 virtual void OnMaximizeModeStarted() {} | 55 virtual void OnTabletModeStarted() {} |
56 | 56 |
57 // Called when the maximize mode is about to end. | 57 // Called when the tablet mode is about to end. |
58 virtual void OnMaximizeModeEnding() {} | 58 virtual void OnTabletModeEnding() {} |
59 | 59 |
60 // Called when the maximize mode has ended. Windows may still be | 60 // Called when the tablet mode has ended. Windows may still be |
61 // animating but have been restored. | 61 // animating but have been restored. |
62 virtual void OnMaximizeModeEnded() {} | 62 virtual void OnTabletModeEnded() {} |
63 | 63 |
64 // Called when keyboard is activated/deactivated in |root_window|. | 64 // Called when keyboard is activated/deactivated in |root_window|. |
65 virtual void OnVirtualKeyboardStateChanged(bool activated, | 65 virtual void OnVirtualKeyboardStateChanged(bool activated, |
66 aura::Window* root_window) {} | 66 aura::Window* root_window) {} |
67 | 67 |
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 |