Index: ash/wm/workspace/workspace_layout_manager.h |
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h |
index 07868cb410245536e5f4c9fbd389e1011861c461..ab4876c5b2e3f2ceebe24386377a22618cbfecb3 100644 |
--- a/ash/wm/workspace/workspace_layout_manager.h |
+++ b/ash/wm/workspace/workspace_layout_manager.h |
@@ -55,6 +55,7 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager { |
virtual void OnWindowPropertyChanged(aura::Window* window, |
const void* key, |
intptr_t old) OVERRIDE; |
+ virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; |
// WindowStateObserver overrides: |
virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, |
@@ -72,7 +73,12 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager { |
void AdjustWindowBoundsWhenAdded(wm::WindowState* window_state); |
- void UpdateDesktopVisibility(); |
+ // Updates the visibility state of the shelf. |
+ void UpdateShelfVisibility(); |
+ |
+ // Updates the fullscreen state of the workspace and notifies Shell if it |
+ // has changed. |
+ void UpdateFullscreenState(); |
// Updates the bounds of the window for a show state change from |
// |last_show_state|. |
@@ -97,6 +103,9 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager { |
// workspace switch. |
gfx::Rect work_area_in_parent_; |
+ // True if this workspace is currently in fullscreen mode. |
+ bool is_fullscreen_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
}; |