Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / wm / public / window_manager.h
blob04e2cce6ca8a46f6a95c985a5943607d74a9ba6a
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
3 // found in the LICENSE file.
5 #ifndef ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_
6 #define ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_
8 #include "athena/athena_export.h"
10 namespace athena {
12 class WindowManagerObserver;
14 // Manages the application, web windows.
15 class ATHENA_EXPORT WindowManager {
16 public:
17 // Creates and deletes the singleton object of the WindowManager
18 // implementation.
19 static WindowManager* Create();
20 static void Shutdown();
21 static WindowManager* GetInstance();
23 virtual ~WindowManager() {}
25 virtual void ToggleOverview() = 0;
27 virtual bool IsOverviewModeActive() = 0;
29 virtual void AddObserver(WindowManagerObserver* observer) = 0;
30 virtual void RemoveObserver(WindowManagerObserver* observer) = 0;
33 } // namespace athena
35 #endif // ATHENA_SCREEN_PUBLIC_WINDOW_MANAGER_H_