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

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

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: window property Created 7 years, 11 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: ash/wm/workspace/workspace_manager.h
diff --git a/ash/wm/workspace/workspace_manager.h b/ash/wm/workspace/workspace_manager.h
index 79bf0acd3b891f050d3b27adf166674e859aff80..ff315b8c795e32ab267202259ec43fc363c02fef 100644
--- a/ash/wm/workspace/workspace_manager.h
+++ b/ash/wm/workspace/workspace_manager.h
@@ -70,6 +70,9 @@ class ASH_EXPORT WorkspaceManager : public ash::ShellObserver {
// window.
static bool WillRestoreMaximized(aura::Window* window);
+ // Returns the active workspace, never NULL.
+ Workspace* active_workspace() { return active_workspace_; }
sky 2013/01/10 19:02:05 I've tried to not expose Workspace at all, why do
+
// Returns the current window state.
WorkspaceWindowState GetWindowState() const;

Powered by Google App Engine
This is Rietveld 408576698