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

Unified Diff: ui/views/views_delegate.cc

Issue 2666803005: Position close buttons in bubbles based on a layout delegate constant. (Closed)
Patch Set: Review comments 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') | no next file » | 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 e7fa2be2b1ce36eee7bed1d899863246dc791936..c47604bb8a77bec9cb230036b261bc21da41b973 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -131,6 +131,10 @@ gfx::Insets ViewsDelegate::GetDialogButtonInsets() const {
kButtonHEdgeMarginNew);
}
+int ViewsDelegate::GetDialogCloseButtonMargin() const {
+ return kCloseButtonMargin;
+}
+
int ViewsDelegate::GetDialogRelatedButtonHorizontalSpacing() const {
return kRelatedButtonHSpacing;
}
« no previous file with comments | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698