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

Unified Diff: chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm

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/cocoa/location_bar/manage_passwords_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
index 76789901b9fd1ac8703875f7935cc09bd37ff9ee..899c1cca12bccb61dfe048a65f66b081cef9564c 100644
--- a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm
@@ -5,6 +5,7 @@
#import "chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.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/cocoa/location_bar/location_bar_view_mac.h"
#include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
@@ -15,7 +16,6 @@
#include "ui/gfx/color_palette.h"
#include "ui/gfx/image/image_skia_util_mac.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
// ManagePasswordsIconCocoa
@@ -104,8 +104,9 @@ void ManagePasswordsDecoration::HideBubble() {
ManagePasswordsBubbleCocoa::instance()->Close();
}
-gfx::VectorIconId ManagePasswordsDecoration::GetMaterialVectorIconId() const {
- // Note: update unit tests if this vector id ever changes (it's hard-coded
+const gfx::VectorIcon* ManagePasswordsDecoration::GetMaterialVectorIcon()
+ const {
+ // Note: update unit tests if this vector icon ever changes (it's hard-coded
// there).
- return gfx::VectorIconId::AUTOLOGIN;
+ return &kAutologinIcon;
}

Powered by Google App Engine
This is Rietveld 408576698