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

Unified Diff: ui/views/layout/layout_manager.cc

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/layout_manager.cc
diff --git a/ui/views/layout/layout_manager.cc b/ui/views/layout/layout_manager.cc
index 188cc6f14fc8e1f5cb3c696f26796b2796614085..78144fc9f24921b624b2ba669844fc6531c881b3 100644
--- a/ui/views/layout/layout_manager.cc
+++ b/ui/views/layout/layout_manager.cc
@@ -27,4 +27,11 @@ void LayoutManager::ViewAdded(View* host, View* view) {
void LayoutManager::ViewRemoved(View* host, View* view) {
}
+void LayoutManager::OnChildPreferredSizeChanged(View* host, View* child) {
+}
+
+void LayoutManager::HostPreferredSizeShouldChange(View* host) {
+ host->PreferredSizeChanged();
+}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698