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

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

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 years, 9 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/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index e8947810f068ef35fed87b93da772c1c8fe2dc38..857cf7dcea89caf490d664cfbca319bee7f0fc60 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -56,7 +56,6 @@
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/grit/components_scaled_resources.h"
#import "components/omnibox/browser/omnibox_popup_model.h"
-#include "components/omnibox/browser/vector_icons.h"
#include "components/prefs/pref_service.h"
#include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_service.h"
@@ -78,6 +77,7 @@
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia_util_mac.h"
#include "ui/gfx/paint_vector_icon.h"
+#include "ui/vector_icons/vector_icons.h"
using content::WebContents;
@@ -705,7 +705,7 @@ NSImage* LocationBarViewMac::GetKeywordImage(const base::string16& keyword) {
SkColor icon_color =
IsLocationBarDark() ? kMaterialDarkVectorIconColor : gfx::kGoogleBlue700;
return NSImageFromImageSkiaWithColorSpace(
- gfx::CreateVectorIcon(omnibox::kSearchIcon, kDefaultIconSize, icon_color),
+ gfx::CreateVectorIcon(ui::kSearchIcon, kDefaultIconSize, icon_color),
base::mac::GetSRGBColorSpace());
}

Powered by Google App Engine
This is Rietveld 408576698