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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 virtual void OnMaximizeModeEnding() {} | 56 virtual void OnMaximizeModeEnding() {} |
57 | 57 |
58 // Called when the maximize mode has ended. Windows may still be | 58 // Called when the maximize mode has ended. Windows may still be |
59 // animating but have been restored. | 59 // animating but have been restored. |
60 virtual void OnMaximizeModeEnded() {} | 60 virtual void OnMaximizeModeEnded() {} |
61 | 61 |
62 // Called when keyboard is activated/deactivated in |root_window|. | 62 // Called when keyboard is activated/deactivated in |root_window|. |
63 virtual void OnVirtualKeyboardStateChanged(bool activated, | 63 virtual void OnVirtualKeyboardStateChanged(bool activated, |
64 aura::Window* root_window) {} | 64 aura::Window* root_window) {} |
65 | 65 |
| 66 // Called when a new KeyboardController is created. |
| 67 virtual void OnKeyboardControllerCreated() {} |
| 68 |
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 |