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

Unified Diff: ui/views/window/dialog_client_view.cc

Issue 11421164: Migrate CollectedCookiesViews to Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/window/dialog_client_view.h ('k') | ui/views/window/dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index b9bbc1910b954934105c52a7ec0174f915537487..f283c5031c087c477ae37e404922d6b9791cb3fa 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -261,10 +261,12 @@ void DialogClientView::CancelWindow() {
}
// static
-DialogClientView::StyleParams DialogClientView::GetChromeStyleParams() {
+DialogClientView::StyleParams DialogClientView::GetChromeStyleParams(
+ int button_vedge_margin,
+ int button_hedge_margin) {
StyleParams params;
- params.button_vedge_margin = 0;
- params.button_hedge_margin = 0;
+ params.button_vedge_margin = button_vedge_margin;
+ params.button_hedge_margin = button_hedge_margin;
params.button_shadow_margin = views::GetChromeStyleButtonShadowMargin();
params.button_content_spacing = 0;
params.related_button_hspacing = 10;
« no previous file with comments | « ui/views/window/dialog_client_view.h ('k') | ui/views/window/dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698