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

Unified Diff: chrome/browser/ui/views/autofill/save_card_icon_view.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/autofill/save_card_icon_view.cc
diff --git a/chrome/browser/ui/views/autofill/save_card_icon_view.cc b/chrome/browser/ui/views/autofill/save_card_icon_view.cc
index 36b3eb2540971367201553b727dd5b823f524cee..c786061cd970049cdb93e7b68381dc093701c2c6 100644
--- a/chrome/browser/ui/views/autofill/save_card_icon_view.cc
+++ b/chrome/browser/ui/views/autofill/save_card_icon_view.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/autofill/save_card_icon_view.h"
#include "chrome/app/chrome_command_ids.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/autofill/save_card_bubble_controller_impl.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
@@ -40,8 +41,8 @@ views::BubbleDialogDelegateView* SaveCardIconView::GetBubble() const {
controller->save_card_bubble_view());
}
-gfx::VectorIconId SaveCardIconView::GetVectorIcon() const {
- return gfx::VectorIconId::CREDIT_CARD;
+const gfx::VectorIcon& SaveCardIconView::GetVectorIcon() const {
+ return kCreditCardIcon;
}
void SaveCardIconView::TabDeactivated(content::WebContents* contents) {
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_icon_view.h ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698