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

Unified Diff: ash/common/wm/overview/window_selector.cc

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix cast shell maybe 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: ash/common/wm/overview/window_selector.cc
diff --git a/ash/common/wm/overview/window_selector.cc b/ash/common/wm/overview/window_selector.cc
index 1905eaff8cc5607980c5f5d6d988e13c79a3597d..c42c5e51d9469869c3c4fc85f32d6fb35f7db4c3 100644
--- a/ash/common/wm/overview/window_selector.cc
+++ b/ash/common/wm/overview/window_selector.cc
@@ -37,7 +37,7 @@
#include "ui/gfx/canvas.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/skia_util.h"
-#include "ui/gfx/vector_icons_public.h"
+#include "ui/vector_icons/vector_icons.h"
#include "ui/views/border.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/textfield/textfield.h"
@@ -293,9 +293,8 @@ void WindowSelector::Init(const WindowList& windows) {
window_grid->PositionWindows(true);
}
- search_image_ =
- gfx::CreateVectorIcon(gfx::VectorIconId::OMNIBOX_SEARCH,
- kTextFilterIconSize, kTextFilterIconColor);
+ search_image_ = gfx::CreateVectorIcon(ui::kSearchIcon, kTextFilterIconSize,
+ kTextFilterIconColor);
WmWindow* root_window = shell->GetPrimaryRootWindow();
text_filter_widget_.reset(CreateTextFilter(this, root_window, search_image_,
&text_filter_bottom_));

Powered by Google App Engine
This is Rietveld 408576698