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; |