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

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

Issue 480293003: Adding functions to the window_list_provider for accessing the activities window list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the other functions as well Created 6 years, 3 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
Index: athena/wm/public/window_manager.h
diff --git a/athena/wm/public/window_manager.h b/athena/wm/public/window_manager.h
index afbd06de757c139bf4d30b779f2c9e1e747f5615..ee8a2e580496087827bbea68597441b08dd99a45 100644
--- a/athena/wm/public/window_manager.h
+++ b/athena/wm/public/window_manager.h
@@ -9,6 +9,7 @@
namespace athena {
+class WindowListProvider;
class WindowManagerObserver;
// Manages the application, web windows.
@@ -30,6 +31,10 @@ class ATHENA_EXPORT WindowManager {
virtual void RemoveObserver(WindowManagerObserver* observer) = 0;
virtual void ToggleSplitViewForTest() = 0;
+
+ // This returns the window list provider of the current MRU order of windows.
+ // The ownership remains with the WindowManager.
+ virtual WindowListProvider* GetWindowListProvider() = 0;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698