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

Unified Diff: ash/common/system/chromeos/palette/common_palette_tool.cc

Issue 2316183003: Move a bunch of ash-only vector icons to ash/. (Closed)
Patch Set: Created 4 years, 3 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/system/chromeos/palette/common_palette_tool.cc
diff --git a/ash/common/system/chromeos/palette/common_palette_tool.cc b/ash/common/system/chromeos/palette/common_palette_tool.cc
index f71b87cd06e312493653ebc0cb8434476e4f0a53..9f8faf4c71dc6f65c38b75c9cdbe360a63780529 100644
--- a/ash/common/system/chromeos/palette/common_palette_tool.cc
+++ b/ash/common/system/chromeos/palette/common_palette_tool.cc
@@ -15,6 +15,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/paint_vector_icon.h"
+#include "ui/gfx/vector_icons_public.h"
tdanderson 2016/09/07 22:36:13 Is this needed?
Evan Stade 2016/09/07 22:41:51 yes, for CHECK_CIRCLE
#include "ui/views/border.h"
namespace ash {
@@ -76,7 +77,7 @@ void CommonPaletteTool::OnViewClicked(views::View* sender) {
views::View* CommonPaletteTool::CreateDefaultView(const base::string16& name) {
gfx::ImageSkia icon =
- CreateVectorIcon(GetPaletteIconId(), kIconSize, gfx::kChromeIconGrey);
+ CreateVectorIcon(GetPaletteIcon(), kIconSize, gfx::kChromeIconGrey);
gfx::ImageSkia check = CreateVectorIcon(gfx::VectorIconId::CHECK_CIRCLE,
kIconSize, gfx::kGoogleGreen700);

Powered by Google App Engine
This is Rietveld 408576698