| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ | 5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ |
| 6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ | 6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "athena/athena_export.h" | 8 #include "athena/athena_export.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 | 11 |
| 12 class ATHENA_EXPORT WindowManagerObserver { | 12 class ATHENA_EXPORT WindowManagerObserver { |
| 13 public: | 13 public: |
| 14 virtual ~WindowManagerObserver() {} | 14 virtual ~WindowManagerObserver() {} |
| 15 | 15 |
| 16 // Called immediately before the overview mode is displayed. | 16 // Called immediately before the overview mode is displayed. |
| 17 virtual void OnOverviewModeEnter() = 0; | 17 virtual void OnOverviewModeEnter() = 0; |
| 18 | 18 |
| 19 // Called immediately after going out of the overview mode. | 19 // Called immediately after going out of the overview mode. |
| 20 virtual void OnOverviewModeExit() = 0; | 20 virtual void OnOverviewModeExit() = 0; |
| 21 | 21 |
| 22 // Called after the activity order has changed. | 22 // Called immediately before the split mode is activated. |
| 23 virtual void OnActivityOrderHasChanged() = 0; | 23 virtual void OnSplitViewModeEnter() = 0; |
| 24 |
| 25 // Called immediately after going out of the splitview mode. |
| 26 virtual void OnSplitViewModeExit() = 0; |
| 24 }; | 27 }; |
| 25 | 28 |
| 26 } // namespace athena | 29 } // namespace athena |
| 27 | 30 |
| 28 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ | 31 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ |
| OLD | NEW |