Chromium Code Reviews| 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; |