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

Unified Diff: chrome/browser/ui/views/location_bar/star_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
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.h ('k') | chrome/browser/ui/views/location_bar/zoom_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/star_view.cc
diff --git a/chrome/browser/ui/views/location_bar/star_view.cc b/chrome/browser/ui/views/location_bar/star_view.cc
index 912969be71f7e46cee15bb6c0750dd2d2dce5340..e58b06125a047561d828ff48a72aceab7a389ca7 100644
--- a/chrome/browser/ui/views/location_bar/star_view.cc
+++ b/chrome/browser/ui/views/location_bar/star_view.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
+#include "components/toolbar/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/vector_icons_public.h"
@@ -62,7 +63,6 @@ views::BubbleDialogDelegateView* StarView::GetBubble() const {
return BookmarkBubbleView::bookmark_bubble();
}
-gfx::VectorIconId StarView::GetVectorIcon() const {
- return active() ? gfx::VectorIconId::LOCATION_BAR_STAR_ACTIVE
- : gfx::VectorIconId::LOCATION_BAR_STAR;
+const gfx::VectorIcon& StarView::GetVectorIcon() const {
+ return active() ? toolbar::kStarActiveIcon : toolbar::kStarIcon;
}
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.h ('k') | chrome/browser/ui/views/location_bar/zoom_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698