| 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/common/athena_export.h" | 8 #include "athena/athena_export.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 | 11 |
| 12 // Manages the application, web windows. | 12 // Manages the application, web windows. |
| 13 class ATHENA_EXPORT WindowManager { | 13 class ATHENA_EXPORT WindowManager { |
| 14 public: | 14 public: |
| 15 // Creates and deletes the singleton object of the WindowManager | 15 // Creates and deletes the singleton object of the WindowManager |
| 16 // implementation. | 16 // implementation. |
| 17 static WindowManager* Create(); | 17 static WindowManager* Create(); |
| 18 static void Shutdown(); | 18 static void Shutdown(); |
| 19 | 19 |
| 20 virtual ~WindowManager() {} | 20 virtual ~WindowManager() {} |
| 21 | 21 |
| 22 virtual void ToggleOverview() = 0; | 22 virtual void ToggleOverview() = 0; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace athena | 25 } // namespace athena |
| 26 | 26 |
| 27 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ | 27 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_ |
| OLD | NEW |