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 29 matching lines...) Expand all Loading... |
40 aura::Window* root_window) {} | 40 aura::Window* root_window) {} |
41 | 41 |
42 // Called when the overview mode is about to be started (before the windows | 42 // Called when the overview mode is about to be started (before the windows |
43 // get re-arranged). | 43 // get re-arranged). |
44 virtual void OnOverviewModeStarting() {} | 44 virtual void OnOverviewModeStarting() {} |
45 | 45 |
46 // Called before the overview mode is ending (before the windows get arranged | 46 // Called before the overview mode is ending (before the windows get arranged |
47 // to their final position). | 47 // to their final position). |
48 virtual void OnOverviewModeEnding() {} | 48 virtual void OnOverviewModeEnding() {} |
49 | 49 |
| 50 // Called when the always maximize mode has started. Windows might still |
| 51 // animate though. |
| 52 virtual void OnMaximizeModeStarted() {} |
| 53 |
| 54 // Called when the always maximize mode has ended. Windows may still be |
| 55 // animating but have been restored. |
| 56 virtual void OnMaximizeModeEnded() {} |
| 57 |
50 protected: | 58 protected: |
51 virtual ~ShellObserver() {} | 59 virtual ~ShellObserver() {} |
52 }; | 60 }; |
53 | 61 |
54 } // namespace ash | 62 } // namespace ash |
55 | 63 |
56 #endif // ASH_SHELL_OBSERVER_H_ | 64 #endif // ASH_SHELL_OBSERVER_H_ |
OLD | NEW |