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

Unified Diff: ui/views/layout/box_layout.h

Issue 15912007: WIP - loop in LayoutManager for preferred size changes (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix LabelTest Created 7 years, 7 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/views/layout/box_layout.h
diff --git a/ui/views/layout/box_layout.h b/ui/views/layout/box_layout.h
index 7670d8cb05e7bd15b59771b2e95c3ade65aabf84..cc63adf7d06ad8400592b7d4f41bc0ec1fbb7f80 100644
--- a/ui/views/layout/box_layout.h
+++ b/ui/views/layout/box_layout.h
@@ -48,6 +48,7 @@ class VIEWS_EXPORT BoxLayout : public LayoutManager {
virtual void Layout(View* host) OVERRIDE;
virtual gfx::Size GetPreferredSize(View* host) OVERRIDE;
virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE;
+ virtual void OnChildPreferredSizeChanged(View* host, View* child) OVERRIDE;
private:
// The preferred size for the dialog given the width of the child area.

Powered by Google App Engine
This is Rietveld 408576698