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

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

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/layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h
index 737d56e896a0c01a445c86ff1814472679d7db83..25eaf0f98bc418ec440726b7e2c72181a0362e34 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -10,6 +10,11 @@
class LayoutDelegate {
public:
enum class Metric {
+ // Extra padding added on all sides of a button's content. This is only
+ // used for certain button types.
+ // TODO(pkasting): This should probably be touch-specific and needs to be
+ // considered more holistically.
+ BUTTON_PADDING,
// Horizontal or vertical margin between the edge of a dialog and a
// contained button.
DIALOG_BUTTON_MARGIN,

Powered by Google App Engine
This is Rietveld 408576698