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

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

Issue 2934503002: Remove references to ui/views/layout/layout_constants.h (Closed)
Patch Set: Created 3 years, 6 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_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/layout_provider.cc
diff --git a/ui/views/layout/layout_provider.cc b/ui/views/layout/layout_provider.cc
index 11412ca33f5a4560f8b9807add62831ba8d7f3ba..a4fd678c3f1db896b7db9617022cdfc8eb7df864 100644
--- a/ui/views/layout/layout_provider.cc
+++ b/ui/views/layout/layout_provider.cc
@@ -94,6 +94,8 @@ int LayoutProvider::GetDistanceMetric(int metric) const {
return kDialogMinimumButtonWidth;
case DISTANCE_DIALOG_CONTENTS_HORIZONTAL_MARGIN:
return kButtonHEdgeMarginNew;
+ case DISTANCE_UNRELATED_CONTROL_VERTICAL:
+ return kUnrelatedControlVerticalSpacing;
}
NOTREACHED();
return 0;
« no previous file with comments | « ui/views/layout/layout_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698