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

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

Issue 15071002: WIP - loop in LayoutManager for preferred size changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scoped layouter 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
« no previous file with comments | « ui/views/layout/layout_manager.h ('k') | ui/views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/views/layout/layout_manager.h ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698