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 when 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 when going out of overview mode. |
20 virtual void OnOverviewModeExit() = 0; | 20 virtual void OnOverviewModeExit() = 0; |
21 }; | 21 }; |
22 | 22 |
23 } // namespace athena | 23 } // namespace athena |
24 | 24 |
25 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ | 25 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_OBSERVER_H_ |
OLD | NEW |