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

Unified Diff: ash/wm/common/wm_globals.h

Issue 2012343002: Converts overview to use common ash types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 7 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 | « ash/wm/common/wm_activation_observer.h ('k') | ash/wm/common/wm_shell_window_ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_globals.h
diff --git a/ash/wm/common/wm_globals.h b/ash/wm/common/wm_globals.h
index b58b331f11f90c02d8edcec3ebbb4fcc41c5ba6d..f4b929091ad2687149c03e4e9d502797019ef21c 100644
--- a/ash/wm/common/wm_globals.h
+++ b/ash/wm/common/wm_globals.h
@@ -43,6 +43,8 @@ class ASH_WM_COMMON_EXPORT WmGlobals {
virtual WmWindow* GetFocusedWindow() = 0;
virtual WmWindow* GetActiveWindow() = 0;
+ virtual WmWindow* GetPrimaryRootWindow() = 0;
+
// Returns the root window for the specified display.
virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0;
@@ -51,7 +53,10 @@ class ASH_WM_COMMON_EXPORT WmGlobals {
// appropriate container in the returned window.
virtual WmWindow* GetRootWindowForNewWindows() = 0;
- // returns the list of more recently used windows excluding modals.
+ // Returns the list of most recently used windows.
+ virtual std::vector<WmWindow*> GetMruWindowList() = 0;
+
+ // Returns the list of most recently used windows excluding modals.
virtual std::vector<WmWindow*> GetMruWindowListIgnoreModals() = 0;
// Returns true if the first window shown on first run should be
« no previous file with comments | « ash/wm/common/wm_activation_observer.h ('k') | ash/wm/common/wm_shell_window_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698