Commit 031d7fa5 authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Use CONTEXT_BUTTON_MD for Dice promo buttons

One might ask: why do even have this lever? I agree, so I filed
https://crbug.com/918911

Bug: 918194
Change-Id: I0ea816a50d840e71bc6f8c5684877c8353cb0c11
Reviewed-on: https://chromium-review.googlesource.com/c/1394734Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619748}
parent d4b3b951
...@@ -36,8 +36,7 @@ DiceSigninButtonView::DiceSigninButtonView( ...@@ -36,8 +36,7 @@ DiceSigninButtonView::DiceSigninButtonView(
// Regular MD text button when there is no account. // Regular MD text button when there is no account.
views::MdTextButton* button = views::MdTextButton::Create( views::MdTextButton* button = views::MdTextButton::Create(
button_listener, button_listener,
l10n_util::GetStringUTF16(IDS_PROFILES_DICE_SIGNIN_BUTTON), l10n_util::GetStringUTF16(IDS_PROFILES_DICE_SIGNIN_BUTTON));
views::style::CONTEXT_BUTTON);
button->SetProminent(prominent); button->SetProminent(prominent);
AddChildView(button); AddChildView(button);
signin_button_ = button; signin_button_ = button;
...@@ -101,8 +100,7 @@ DiceSigninButtonView::DiceSigninButtonView( ...@@ -101,8 +100,7 @@ DiceSigninButtonView::DiceSigninButtonView(
views::GridLayout::USE_PREF, 0, 0); views::GridLayout::USE_PREF, 0, 0);
views::MdTextButton* button = views::MdTextButton::Create( views::MdTextButton* button = views::MdTextButton::Create(
button_listener, button_listener,
l10n_util::GetStringUTF16(IDS_PROFILES_DICE_SIGNIN_BUTTON), l10n_util::GetStringUTF16(IDS_PROFILES_DICE_SIGNIN_BUTTON));
views::style::CONTEXT_BUTTON);
button->SetProminent(true); button->SetProminent(true);
grid_layout->AddView(button); grid_layout->AddView(button);
signin_button_ = button; signin_button_ = button;
......
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