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

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..18da71889098334caf8bd817709d612f35712044 100644
--- a/ash/wm/workspace/workspace.h
+++ b/ash/wm/workspace/workspace.h
@@ -55,9 +55,13 @@ class ASH_EXPORT Workspace {
}
WorkspaceManager* workspace_manager() { return workspace_manager_; }
- // Returns true if the Workspace should be moved to pending. This is true
+ // 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 hidden. This is true
// if there are no visible maximized windows.
- bool ShouldMoveToPending() const;
+ bool ShouldMoveToHidden() const;
// Returns the number of maximized windows (including minimized windows that
// would be maximized on restore). This does not consider visibility.

Powered by Google App Engine
This is Rietveld 408576698