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

Unified Diff: ui/views/views_delegate.cc

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/views_delegate.h ('k') | ui/views/window/dialog_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_delegate.cc
diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc
index c47604bb8a77bec9cb230036b261bc21da41b973..8856e7e8c12f90cb65c58c161f95953a1573ea3b 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -152,6 +152,14 @@ gfx::Insets ViewsDelegate::GetBubbleDialogMargins() const {
return gfx::Insets(kPanelVertMargin, kPanelHorizMargin);
}
+int ViewsDelegate::GetDialogButtonMinimumWidth() const {
+ return kDialogMinimumButtonWidth;
+}
+
+int ViewsDelegate::GetButtonHorizontalPadding() const {
+ return 0;
+}
+
ViewsDelegate::ViewsDelegate()
: views_tsc_factory_(new ViewsTouchEditingControllerFactory) {
DCHECK(!views_delegate);
« no previous file with comments | « ui/views/views_delegate.h ('k') | ui/views/window/dialog_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698