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

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

Issue 10828026: Renames two WorkspaceManager methods so that they are more clearly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_layout_manager.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_manager.h
diff --git a/ash/wm/workspace/workspace_manager.h b/ash/wm/workspace/workspace_manager.h
index 2f9985de411e5f2ffff2c84ca269b4b00d804219..16ed477c697859a7207345c47e0622ba62500cd1 100644
--- a/ash/wm/workspace/workspace_manager.h
+++ b/ash/wm/workspace/workspace_manager.h
@@ -49,11 +49,12 @@ class ASH_EXPORT WorkspaceManager {
explicit WorkspaceManager(aura::Window* viewport);
virtual ~WorkspaceManager();
- // Returns true if |window| should be managed by the WorkspaceManager.
- bool IsManagedWindow(aura::Window* window) const;
+ // Returns true if |window| should be managed by the WorkspaceManager. Use
+ // Contains() to test if the Window is currently managed by WorkspaceManager.
+ static bool ShouldManageWindow(aura::Window* window);
- // Returns true if the |window| is managed by the WorkspaceManager.
- bool IsManagingWindow(aura::Window* window) const;
+ // Returns true if |window| has been added to this WorkspaceManager.
+ bool Contains(aura::Window* window) const;
// Returns true if in maximized or fullscreen mode.
bool IsInMaximizedMode() const;
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698