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

Unified Diff: ui/views/views_delegate.h

Issue 2702403010: Fix the absence of padding on some UI buttons. (Closed)
Patch Set: change switch Created 3 years, 10 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 b354330b9815db6c60b91b369a8655f8a2ccffe6..7b3960f5c7c0a5be23772d6cc4b7d72f7064d5c2 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -219,7 +219,10 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the margins that should be applied around a bubble dialog.
virtual gfx::Insets GetBubbleDialogMargins() const;
- // Returns the default minimum width of a dialog button.
+ // Returns the default minimum width of a button.
+ virtual int GetButtonMinimumWidth() const;
+
+ // Returns the minimum width of a dialog button.
virtual int GetDialogButtonMinimumWidth() const;
// Returns the default padding to add on each side of a button's label.

Powered by Google App Engine
This is Rietveld 408576698