| Index: ash/wm/panel_layout_manager.h
|
| diff --git a/ash/wm/panel_layout_manager.h b/ash/wm/panel_layout_manager.h
|
| index 6951c296822cdf8882ecb9cc47be3442fd39b1fb..4426eea58f4374a316468e3918edb14e349063a2 100644
|
| --- a/ash/wm/panel_layout_manager.h
|
| +++ b/ash/wm/panel_layout_manager.h
|
| @@ -9,6 +9,7 @@
|
| #include <list>
|
|
|
| #include "ash/ash_export.h"
|
| +#include "ash/launcher/launcher_icon_observer.h"
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "ui/aura/layout_manager.h"
|
| @@ -22,6 +23,8 @@ class Rect;
|
| }
|
|
|
| namespace ash {
|
| +class Launcher;
|
| +
|
| namespace internal {
|
|
|
| // PanelLayoutManager is responsible for organizing panels within the
|
| @@ -33,7 +36,8 @@ namespace internal {
|
| // its layout manager to this instance, e.g.:
|
| // panel_container->SetLayoutManager(new PanelLayoutManager(panel_container));
|
|
|
| -class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager {
|
| +class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager,
|
| + public ash::LauncherIconObserver {
|
| public:
|
| explicit PanelLayoutManager(aura::Window* panel_container);
|
| virtual ~PanelLayoutManager();
|
| @@ -43,6 +47,8 @@ class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager {
|
|
|
| void ToggleMinimize(aura::Window* panel);
|
|
|
| + void SetLauncher(ash::Launcher* launcher);
|
| +
|
| // Overridden from aura::LayoutManager:
|
| virtual void OnWindowResized() OVERRIDE;
|
| virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
|
| @@ -52,6 +58,9 @@ class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager {
|
| virtual void SetChildBounds(aura::Window* child,
|
| const gfx::Rect& requested_bounds) OVERRIDE;
|
|
|
| + // Overriden from ash::LauncherIconObserver
|
| + virtual void OnLauncherIconPositionsChanged() OVERRIDE;
|
| +
|
| private:
|
| typedef std::list<aura::Window*> PanelList;
|
|
|
|
|