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

Unified Diff: ui/views/views_delegate.cc

Issue 2571613002: Convert Register Protocol Handler dialog for Harmony/Material Design (Closed)
Patch Set: More fixed nits 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
« no previous file with comments | « ui/views/views_delegate.h ('k') | ui/views/window/dialog_client_view.cc » ('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 c00e1b2c0e68131e1aa02d6e2904d9f79b9e837e..3481102f57fc5b07d74b53e347a18b2fa12bb31d 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -135,11 +135,19 @@ int ViewsDelegate::GetDialogRelatedButtonHorizontalSpacing() {
return kRelatedButtonHSpacing;
}
+int ViewsDelegate::GetDialogRelatedControlVerticalSpacing() {
+ return kRelatedControlVerticalSpacing;
+}
+
gfx::Insets ViewsDelegate::GetDialogFrameViewInsets() {
return gfx::Insets(kPanelVertMargin, kButtonHEdgeMarginNew, 0,
kButtonHEdgeMarginNew);
}
+gfx::Insets ViewsDelegate::GetBubbleDialogMargins() {
+ return gfx::Insets(kPanelVertMargin, kPanelHorizMargin);
+}
+
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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698