diff options
Diffstat (limited to 'ash/wm/shelf_layout_manager.h')
-rw-r--r-- | ash/wm/shelf_layout_manager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/wm/shelf_layout_manager.h b/ash/wm/shelf_layout_manager.h index 32b6019..e7101aa 100644 --- a/ash/wm/shelf_layout_manager.h +++ b/ash/wm/shelf_layout_manager.h @@ -8,6 +8,7 @@ #include "ash/ash_export.h" #include "ash/launcher/launcher.h" +#include "ash/shell_observer.h" #include "ash/wm/shelf_auto_hide_behavior.h" #include "base/basictypes.h" #include "base/compiler_specific.h" @@ -38,6 +39,7 @@ class WorkspaceManager; // To respond to bounds changes in the status area StatusAreaLayoutManager works // closely with ShelfLayoutManager. class ASH_EXPORT ShelfLayoutManager : public aura::LayoutManager, + public ash::ShellObserver, public aura::WindowObserver { public: enum VisibilityState { @@ -136,6 +138,9 @@ class ASH_EXPORT ShelfLayoutManager : public aura::LayoutManager, virtual void SetChildBounds(aura::Window* child, const gfx::Rect& requested_bounds) OVERRIDE; + // Overridden from ash::ShellObserver: + virtual void OnLockStateChanged(bool locked) OVERRIDE; + // Overriden from aura::WindowObserver: virtual void OnWindowPropertyChanged(aura::Window* window, const void* key, |