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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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/passwords/manage_passwords_icon_views.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc b/chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc
index bce758690146232025f398098191972700e98f93..f0990974494b553d6d589eae025a7345e9b3e919 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/passwords/manage_passwords_icon_views.h"
#include "chrome/app/chrome_command_ids.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/command_updater.h"
#include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
#include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h"
@@ -12,7 +13,6 @@
#include "components/password_manager/core/common/password_manager_ui.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
-#include "ui/gfx/vector_icons_public.h"
ManagePasswordsIconViews::ManagePasswordsIconViews(CommandUpdater* updater)
: BubbleIconView(updater, IDC_MANAGE_PASSWORDS_FOR_PAGE),
@@ -83,8 +83,8 @@ views::BubbleDialogDelegateView* ManagePasswordsIconViews::GetBubble() const {
return ManagePasswordsBubbleView::manage_password_bubble();
}
-gfx::VectorIconId ManagePasswordsIconViews::GetVectorIcon() const {
- return gfx::VectorIconId::AUTOLOGIN;
+const gfx::VectorIcon& ManagePasswordsIconViews::GetVectorIcon() const {
+ return kAutologinIcon;
}
void ManagePasswordsIconViews::AboutToRequestFocusFromTabTraversal(
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_passwords_icon_views.h ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698