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

Unified Diff: ui/views/views_delegate.cc

Issue 2550323004: views: support Harmony title insets (Closed)
Patch Set: Created 4 years 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_delegate.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 79c8d9d51c28ad1610fe4c5f41c423563caf2582..946c20882d4eb7841f184ab2e5b7bdcf8b78044e 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -131,6 +131,11 @@ int ViewsDelegate::GetDialogRelatedButtonHorizontalSpacing() {
return kRelatedButtonHSpacing;
}
+gfx::Insets ViewsDelegate::GetDialogFrameViewInsets() {
+ return gfx::Insets(kPanelVertMargin, kButtonHEdgeMarginNew, 0,
+ kButtonHEdgeMarginNew);
+}
+
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_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698