Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: ui/aura/window.h

Issue 7903018: More shell content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/window.cc » ('j') | ui/aura_shell/desktop_background_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698