diff options
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index de4189f..548991e 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -25,6 +25,7 @@ namespace aura { class Desktop; class KeyEvent; +class LayoutManager; class MouseEvent; class WindowDelegate; class WindowManager; @@ -65,6 +66,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate { void SetVisibility(Visibility visibility); Visibility visibility() const { return visibility_; } + // Assigns a LayoutManager to size and place child windows. + // The Window takes ownership of the LayoutManager. + void SetLayoutManager(LayoutManager* layout_manager); + // Changes the bounds of the window. void SetBounds(const gfx::Rect& bounds, int anim_ms); const gfx::Rect& bounds() const { return bounds_; } @@ -155,6 +160,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate { int id_; scoped_ptr<WindowManager> window_manager_; + scoped_ptr<LayoutManager> layout_manager_; void* user_data_; |