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_H_ | 5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ |
6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ | 6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ |
7 | 7 |
8 #include "athena/athena_export.h" | 8 #include "athena/athena_export.h" |
9 | 9 |
10 namespace aura { | |
11 class Window; | |
Jun Mukai
2014/07/25 20:21:29
remove unused declarations.
mfomitchev
2014/07/25 23:27:38
Done.
| |
12 } | |
13 | |
10 namespace athena { | 14 namespace athena { |
11 | 15 |
12 class WindowManagerObserver; | 16 class WindowManagerObserver; |
13 | 17 |
14 // Manages the application, web windows. | 18 // Manages the application, web windows. |
15 class ATHENA_EXPORT WindowManager { | 19 class ATHENA_EXPORT WindowManager { |
16 public: | 20 public: |
17 // Creates and deletes the singleton object of the WindowManager | 21 // Creates and deletes the singleton object of the WindowManager |
18 // implementation. | 22 // implementation. |
19 static WindowManager* Create(); | 23 static WindowManager* Create(); |
20 static void Shutdown(); | 24 static void Shutdown(); |
21 static WindowManager* GetInstance(); | 25 static WindowManager* GetInstance(); |
22 | 26 |
23 virtual ~WindowManager() {} | 27 virtual ~WindowManager() {} |
24 | 28 |
25 virtual void ToggleOverview() = 0; | 29 virtual void ToggleOverview() = 0; |
26 | 30 |
31 virtual bool IsOverviewModeActive() = 0; | |
32 | |
27 virtual void AddObserver(WindowManagerObserver* observer) = 0; | 33 virtual void AddObserver(WindowManagerObserver* observer) = 0; |
28 virtual void RemoveObserver(WindowManagerObserver* observer) = 0; | 34 virtual void RemoveObserver(WindowManagerObserver* observer) = 0; |
29 }; | 35 }; |
30 | 36 |
31 } // namespace athena | 37 } // namespace athena |
32 | 38 |
33 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ | 39 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ |
OLD | NEW |