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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // Invoked when |pinned_window| enter or exit pinned mode. | 45 // Invoked when |pinned_window| enter or exit pinned mode. |
46 virtual void OnPinnedStateChanged(aura::Window* pinned_window) {} | 46 virtual void OnPinnedStateChanged(aura::Window* pinned_window) {} |
47 | 47 |
48 // Called when the overview mode is about to be started (before the windows | 48 // Called when the overview mode is about to be started (before the windows |
49 // get re-arranged). | 49 // get re-arranged). |
50 virtual void OnOverviewModeStarting() {} | 50 virtual void OnOverviewModeStarting() {} |
51 | 51 |
52 // Called after overview mode has ended. | 52 // Called after overview mode has ended. |
53 virtual void OnOverviewModeEnded() {} | 53 virtual void OnOverviewModeEnded() {} |
54 | 54 |
| 55 // Called when the split view mode is about to be started (before the window |
| 56 // gets snapped and activated). |
| 57 virtual void OnSplitViewModeStarting() {} |
| 58 |
| 59 // Called after split view mode has ended. |
| 60 virtual void OnSplitViewModeEnded() {} |
| 61 |
55 // Called when the always maximize mode has started. Windows might still | 62 // Called when the always maximize mode has started. Windows might still |
56 // animate though. | 63 // animate though. |
57 virtual void OnMaximizeModeStarted() {} | 64 virtual void OnMaximizeModeStarted() {} |
58 | 65 |
59 // Called when the maximize mode is about to end. | 66 // Called when the maximize mode is about to end. |
60 virtual void OnMaximizeModeEnding() {} | 67 virtual void OnMaximizeModeEnding() {} |
61 | 68 |
62 // Called when the maximize mode has ended. Windows may still be | 69 // Called when the maximize mode has ended. Windows may still be |
63 // animating but have been restored. | 70 // animating but have been restored. |
64 virtual void OnMaximizeModeEnded() {} | 71 virtual void OnMaximizeModeEnded() {} |
(...skipping 15 matching lines...) Expand all Loading... |
80 // most of Shell's state has been deleted. | 87 // most of Shell's state has been deleted. |
81 virtual void OnShellDestroyed() {} | 88 virtual void OnShellDestroyed() {} |
82 | 89 |
83 protected: | 90 protected: |
84 virtual ~ShellObserver() {} | 91 virtual ~ShellObserver() {} |
85 }; | 92 }; |
86 | 93 |
87 } // namespace ash | 94 } // namespace ash |
88 | 95 |
89 #endif // ASH_SHELL_OBSERVER_H_ | 96 #endif // ASH_SHELL_OBSERVER_H_ |
OLD | NEW |