Index: ui/aura_shell/desktop_layout_manager.h |
=================================================================== |
--- ui/aura_shell/desktop_layout_manager.h (revision 113185) |
+++ ui/aura_shell/desktop_layout_manager.h (working copy) |
@@ -23,6 +23,8 @@ |
namespace aura_shell { |
namespace internal { |
+class ShelfLayoutController; |
+ |
// A layout manager for the root window. |
// Resizes all of its immediate children to fill the bounds of the root window. |
class DesktopLayoutManager : public aura::LayoutManager { |
@@ -30,6 +32,8 @@ |
explicit DesktopLayoutManager(aura::Window* owner); |
virtual ~DesktopLayoutManager(); |
+ void set_shelf(ShelfLayoutController* shelf) { shelf_ = shelf; } |
+ |
void set_background_widget(views::Widget* background_widget) { |
background_widget_ = background_widget; |
} |
@@ -48,6 +52,8 @@ |
views::Widget* background_widget_; |
+ ShelfLayoutController* shelf_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DesktopLayoutManager); |
}; |