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

Unified Diff: chrome/browser/ui/views/harmony/layout_delegate.cc

Issue 2696263002: Refactor ViewsDelegate and MD-ify the icon-to-text spacing for checkbox and radiobutton (Closed)
Patch Set: Reduced ViewsDelegate layout/metric functions to only two functions Created 3 years, 10 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: chrome/browser/ui/views/harmony/layout_delegate.cc
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.cc b/chrome/browser/ui/views/harmony/layout_delegate.cc
index 5ff779873c81950580f3d7d52c194d9180603b66..ee2ba0a8196b2de79aed5d6e84a4033673e1dcf3 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/layout_delegate.cc
@@ -44,6 +44,8 @@ int LayoutDelegate::GetMetric(Metric metric) const {
return views::kUnrelatedControlVerticalSpacing;
case Metric::UNRELATED_CONTROL_VERTICAL_SPACING_LARGE:
return views::kUnrelatedControlLargeVerticalSpacing;
+ case Metric::ICON_TEXT_SPACING:
+ return views::kIconTextSpacing;
}
NOTREACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698