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

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

Issue 2671443002: Make the extra padding around VectorIconButtons configurable. (Closed)
Patch Set: Make sure Harmony close buttons stay in place 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 7ffd6854b0b6640d1cf9b6b3ad3175d74bdaeecf..5d10c489fc21abd8e4b2aee659818f12cfefcfb7 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.cc
@@ -17,6 +17,8 @@ HarmonyLayoutDelegate* HarmonyLayoutDelegate::Get() {
int HarmonyLayoutDelegate::GetMetric(Metric metric) const {
switch (metric) {
+ case Metric::BUTTON_PADDING:
+ return 0;
case Metric::DIALOG_BUTTON_MARGIN:
return kHarmonyLayoutUnit;
case Metric::PANEL_CONTENT_MARGIN:

Powered by Google App Engine
This is Rietveld 408576698