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

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

Issue 2654123004: harmony: partly harmonize permissions bubble (Closed)
Patch Set: Created 3 years, 11 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 d3eaa40902ad20d5de1aa1e8b8d5207773d53337..a44e3d74446c958577ec3c11b63abe54a85cb33a 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
@@ -37,6 +37,8 @@ int HarmonyLayoutDelegate::GetLayoutDistance(LayoutDistanceType type) const {
return kHarmonyLayoutUnit;
case LayoutDistanceType::CHECKBOX_INDENT:
return 0;
+ case LayoutDistanceType::ITEM_LABEL_SPACING:
+ return kHarmonyLayoutUnit / 2;
Peter Kasting 2017/01/26 21:54:29 Shouldn't this be 16 px and not 8? I'm looking at
Elly Fong-Jones 2017/01/30 19:47:34 Oh, yes, you are correct - this ought to have been
}
NOTREACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698