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

Unified Diff: ui/views/views_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: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index 950bb102b0a7d924084312f684696b2480bc37df..11d39e89bbd90303315685167431dd25ae1a3333 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -215,6 +215,9 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the margins that should be applied around a bubble dialog.
virtual gfx::Insets GetBubbleDialogMargins();
+ // Returns the padding that should be placed around a button's content.
+ virtual gfx::Insets GetButtonPadding() const;
+
protected:
ViewsDelegate();

Powered by Google App Engine
This is Rietveld 408576698