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

Unified Diff: ui/views/views_delegate.h

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: disable dialog test on osx 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
« no previous file with comments | « ui/views/layout/layout_constants.h ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.h
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
index c34751993693d773ab4b804bb61c93e5bca5f444..b354330b9815db6c60b91b369a8655f8a2ccffe6 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -219,6 +219,12 @@ 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.
+ virtual int GetDialogButtonMinimumWidth() const;
+
+ // Returns the default padding to add on each side of a button's label.
+ virtual int GetButtonHorizontalPadding() const;
+
protected:
ViewsDelegate();
« no previous file with comments | « ui/views/layout/layout_constants.h ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698