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

Unified Diff: ash/wm/workspace/workspace.h

Issue 11417150: Implement workspace scrubbing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: ash/wm/workspace/workspace.h
diff --git a/ash/wm/workspace/workspace.h b/ash/wm/workspace/workspace.h
index 575a3683ebda79af79e6c9883d96c9689fbff914..1d7dc45ebca1a34d0f0a629bb0e9a4664217985f 100644
--- a/ash/wm/workspace/workspace.h
+++ b/ash/wm/workspace/workspace.h
@@ -55,6 +55,10 @@ class ASH_EXPORT Workspace {
}
WorkspaceManager* workspace_manager() { return workspace_manager_; }
+ // Returns the active window if the active window is in this workspace.
+ // Otherwise, NULL is returned.
+ aura::Window* GetActiveWindow() const;
+
// Returns true if the Workspace should be moved to pending. This is true
// if there are no visible maximized windows.
bool ShouldMoveToPending() const;

Powered by Google App Engine
This is Rietveld 408576698