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

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

Issue 2019053002: Changed the icons for "Manage people" and sync errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 4 years, 6 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 | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 417c6fcc4d1f470afef3c4ef62e415290d4fc923..6984d88963f5b45cd4ebce5ea949f0a962e78711 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -1498,9 +1498,13 @@ views::View* ProfileChooserView::CreateOptionsView(bool display_lock) {
l10n_util::GetStringUTF16(IDS_PROFILES_EXIT_GUEST) :
l10n_util::GetStringUTF16(IDS_PROFILES_MANAGE_USERS_BUTTON);
const int kIconSize = 16;
+
+ gfx::VectorIconId settings_icon = switches::IsMaterialDesignUserMenu() ?
+ gfx::VectorIconId::SETTINGS : gfx::VectorIconId::ACCOUNT_BOX;
users_button_ = new BackgroundColorHoverButton(
- this, text, gfx::CreateVectorIcon(gfx::VectorIconId::ACCOUNT_BOX,
- kIconSize, gfx::kChromeIconGrey));
+ this, text, gfx::CreateVectorIcon(settings_icon, kIconSize,
+ gfx::kChromeIconGrey));
+
layout->StartRow(1, 0);
layout->AddView(users_button_);
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698