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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2299993005: Prepare some BlueButtons in chrome browser ui for switch to Harmony. (Closed)
Patch Set: restore include Created 4 years, 3 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
Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index cd0b63b05bbd4ab0ac4d9546d3e02834d1afeb51..2172331df4aae3623f82474f80e636f775de3981 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -1657,10 +1657,11 @@ views::View* ProfileChooserView::CreateCurrentProfileView(
layout->StartRow(1, 0);
layout->AddView(promo);
- signin_current_profile_button_ = new views::BlueButton(
- this, l10n_util::GetStringFUTF16(
- IDS_SYNC_START_SYNC_BUTTON_LABEL,
- l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME)));
+ signin_current_profile_button_ =
+ views::MdTextButton::CreateSecondaryUiBlueButton(
+ this, l10n_util::GetStringFUTF16(
+ IDS_SYNC_START_SYNC_BUTTON_LABEL,
+ l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME)));
layout->StartRowWithPadding(1, 0, 0,
views::kRelatedControlVerticalSpacing);
layout->StartRow(1, 0);
@@ -2153,7 +2154,7 @@ views::View* ProfileChooserView::CreateAccountRemovalView() {
// Adds button.
if (!is_primary_account) {
- remove_account_button_ = new views::BlueButton(
+ remove_account_button_ = views::MdTextButton::CreateSecondaryUiBlueButton(
this, l10n_util::GetStringUTF16(IDS_PROFILES_ACCOUNT_REMOVAL_BUTTON));
remove_account_button_->SetHorizontalAlignment(
gfx::ALIGN_CENTER);
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698