Commit ee1f2107 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Update incognito window counter's insets.

Incognito window counter's insets are updated to unify with other
profile-chooser dialogs.

Bug: 931320, 934689
Change-Id: I433f0678a245768be226e26274c9fd663c822b80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1505172Reviewed-by: default avatarPeter Boström <pbos@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638429}
parent 31f7fae7
...@@ -550,6 +550,7 @@ views::View* ProfileChooserView::CreateIncognitoWindowCountView() { ...@@ -550,6 +550,7 @@ views::View* ProfileChooserView::CreateIncognitoWindowCountView() {
content_list_vert_spacing); content_list_vert_spacing);
layout->AddView(new views::Separator()); layout->AddView(new views::Separator());
layout->AddPaddingRow(1.0, content_list_vert_spacing);
users_button_ = new HoverButton( users_button_ = new HoverButton(
this, gfx::CreateVectorIcon(kCloseAllIcon, 16, gfx::kChromeIconGrey), this, gfx::CreateVectorIcon(kCloseAllIcon, 16, gfx::kChromeIconGrey),
l10n_util::GetStringUTF16(IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON)); l10n_util::GetStringUTF16(IDS_INCOGNITO_PROFILE_MENU_CLOSE_BUTTON));
...@@ -558,6 +559,10 @@ views::View* ProfileChooserView::CreateIncognitoWindowCountView() { ...@@ -558,6 +559,10 @@ views::View* ProfileChooserView::CreateIncognitoWindowCountView() {
content_list_vert_spacing); content_list_vert_spacing);
layout->AddView(users_button_); layout->AddView(users_button_);
const int small_vertical_spacing =
provider->GetDistanceMetric(DISTANCE_RELATED_CONTROL_VERTICAL_SMALL);
layout->AddPaddingRow(1.0, small_vertical_spacing);
return view; return view;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment