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

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

Issue 2753243002: Views/Harmony: Replace layout constants in chrome/browser/ui/views/extensions. (Closed)
Patch Set: Review comments. Created 3 years, 9 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/harmony_layout_delegate.cc
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
index a64f6df1419744b806ac11bf60dc20755038af3f..57f90992c019c21ba18590ebbbad9fd623c760fc 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
@@ -40,8 +40,12 @@ int HarmonyLayoutDelegate::GetMetric(Metric metric) const {
return kHarmonyLayoutUnit / 2;
case Metric::RELATED_CONTROL_HORIZONTAL_SPACING:
return kHarmonyLayoutUnit;
+ case Metric::RELATED_CONTROL_HORIZONTAL_SPACING_SMALL:
+ return kHarmonyLayoutUnit;
case Metric::RELATED_CONTROL_VERTICAL_SPACING:
return kHarmonyLayoutUnit / 2;
+ case Metric::RELATED_CONTROL_VERTICAL_SPACING_SMALL:
+ return kHarmonyLayoutUnit / 2;
case Metric::RELATED_LABEL_HORIZONTAL_SPACING:
return kHarmonyLayoutUnit;
case Metric::SUBSECTION_HORIZONTAL_INDENT:
« no previous file with comments | « chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc ('k') | chrome/browser/ui/views/harmony/layout_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698