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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual void OnMaximizeModeStarted() {} | 60 virtual void OnMaximizeModeStarted() {} |
61 | 61 |
62 // Called when the always maximize mode has ended. Windows may still be | 62 // Called when the always maximize mode has ended. Windows may still be |
63 // animating but have been restored. | 63 // animating but have been restored. |
64 virtual void OnMaximizeModeEnded() {} | 64 virtual void OnMaximizeModeEnded() {} |
65 | 65 |
66 // Called at the end of Shell::Init. | 66 // Called at the end of Shell::Init. |
67 virtual void OnShellInitialized() {} | 67 virtual void OnShellInitialized() {} |
68 | 68 |
69 protected: | 69 protected: |
| 70 ShellObserver() = default; |
70 virtual ~ShellObserver() {} | 71 virtual ~ShellObserver() {} |
71 }; | 72 }; |
72 | 73 |
73 } // namespace ash | 74 } // namespace ash |
74 | 75 |
75 #endif // ASH_SHELL_OBSERVER_H_ | 76 #endif // ASH_SHELL_OBSERVER_H_ |
OLD | NEW |