Index: ui/aura/window.h |
=================================================================== |
--- ui/aura/window.h (revision 101372) |
+++ ui/aura/window.h (working copy) |
@@ -25,6 +25,7 @@ |
class Desktop; |
class KeyEvent; |
+class LayoutManager; |
class MouseEvent; |
class WindowDelegate; |
class WindowManager; |
@@ -65,6 +66,10 @@ |
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 @@ |
int id_; |
scoped_ptr<WindowManager> window_manager_; |
+ scoped_ptr<LayoutManager> layout_manager_; |
void* user_data_; |