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

Unified Diff: ash/wm/workspace_controller.h

Issue 10830365: Initial crack at new workspace behavior. Each workspace now has its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/workspace/workspace_manager2_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace_controller.h
diff --git a/ash/wm/workspace_controller.h b/ash/wm/workspace_controller.h
index d7f7b6b50eb9d5d44c7c3990b1e098fca4f3cd43..46d6efb4b22cc9bb00e0b43020deb830220e6f7b 100644
--- a/ash/wm/workspace_controller.h
+++ b/ash/wm/workspace_controller.h
@@ -33,6 +33,9 @@ class ASH_EXPORT WorkspaceController
explicit WorkspaceController(aura::Window* viewport);
virtual ~WorkspaceController();
+ // Returns true if Workspace2 is enabled.
+ static bool IsWorkspace2Enabled();
+
// Returns true if in maximized or fullscreen mode.
bool IsInMaximizedMode() const;
@@ -62,6 +65,9 @@ class ASH_EXPORT WorkspaceController
scoped_ptr<BaseWorkspaceManager> workspace_manager_;
+ // TODO(sky): remove |layout_manager_| and |event_filter_| when Workspace2
+ // is the default.
+
// Owned by the window its attached to.
WorkspaceLayoutManager* layout_manager_;
« no previous file with comments | « ash/wm/workspace/workspace_manager2_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698