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

Unified Diff: ui/views/views_delegate.h

Issue 2783023002: Use an InsetMetric instead of a constant for vector button padding. (Closed)
Patch Set: revert the stuff that got mixed in from another patch 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: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 5ab30aa42997cf7bb298dcdf71caab5b07eb9c29..61f7c850113b3c42ce6ffca92b65bb57911e922b 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -71,6 +71,9 @@ enum class InsetsMetric {
DIALOG_BUTTON,
// The insets that should be applied around a dialog's frame view.
DIALOG_FRAME_VIEW,
+ // Padding to add to vector image buttons to increase their click and touch
+ // target size.
+ VECTOR_IMAGE_BUTTON_PADDING,
};
enum class DistanceMetric {

Powered by Google App Engine
This is Rietveld 408576698