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

Unified Diff: ui/views/views_delegate.cc

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: comments 3 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.cc
diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc
index c47604bb8a77bec9cb230036b261bc21da41b973..00dfdab08daff9c18b8c4a624a43dd303f1e8f3a 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -152,6 +152,10 @@ gfx::Insets ViewsDelegate::GetBubbleDialogMargins() const {
return gfx::Insets(kPanelVertMargin, kPanelHorizMargin);
}
+int ViewsDelegate::GetDialogButtonMinimumWidth() const {
+ return kDialogMinimumButtonWidth;
+}
+
ViewsDelegate::ViewsDelegate()
: views_tsc_factory_(new ViewsTouchEditingControllerFactory) {
DCHECK(!views_delegate);

Powered by Google App Engine
This is Rietveld 408576698