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

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

Issue 2821413002: views: support dialog width snapping once and for all (Closed)
Patch Set: Created 3 years, 8 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_provider.cc
diff --git a/ui/views/layout/layout_provider.cc b/ui/views/layout/layout_provider.cc
index 926916d16883e0ef5fc29aeb90400eae960e9b71..35b332e2c21957a72a3f4a335a75e832fc21a0f6 100644
--- a/ui/views/layout/layout_provider.cc
+++ b/ui/views/layout/layout_provider.cc
@@ -74,4 +74,8 @@ const TypographyProvider& LayoutProvider::GetTypographyProvider() const {
return typography_provider_;
}
-} // namespace views
+int LayoutProvider::GetSnappedDialogWidth(int min_width) const {
+ return min_width;
+}
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698