Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5584)

Unified Diff: athena/wm/public/window_manager.h

Issue 394043002: athena: Add a minimized state for the home-card. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/home/public/home_card.h ('k') | athena/wm/public/window_manager_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/public/window_manager.h
diff --git a/athena/wm/public/window_manager.h b/athena/wm/public/window_manager.h
index 9cbd79e21ff5a06c98c1135f50dc3d7b6466356e..23aab7f4a4967eecc30e6b8552e33113489f0179 100644
--- a/athena/wm/public/window_manager.h
+++ b/athena/wm/public/window_manager.h
@@ -9,6 +9,8 @@
namespace athena {
+class WindowManagerObserver;
+
// Manages the application, web windows.
class ATHENA_EXPORT WindowManager {
public:
@@ -16,10 +18,14 @@ class ATHENA_EXPORT WindowManager {
// implementation.
static WindowManager* Create();
static void Shutdown();
+ static WindowManager* GetInstance();
virtual ~WindowManager() {}
virtual void ToggleOverview() = 0;
+
+ virtual void AddObserver(WindowManagerObserver* observer) = 0;
+ virtual void RemoveObserver(WindowManagerObserver* observer) = 0;
};
} // namespace athena
« no previous file with comments | « athena/home/public/home_card.h ('k') | athena/wm/public/window_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698