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

Unified Diff: ash/common/system/chromeos/palette/tools/capture_screen_action.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/tools/capture_screen_action.cc
diff --git a/ash/common/system/chromeos/palette/tools/capture_screen_action.cc b/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
index d37203a2d565409934ccc409b7827b07d42c7da4..24f7a419b04ca9224cb8380b0a1908d0bab1a2f9 100644
--- a/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
+++ b/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
@@ -7,6 +7,7 @@
#include "ash/common/palette_delegate.h"
#include "ash/common/system/chromeos/palette/palette_ids.h"
#include "ash/common/wm_shell.h"
+#include "ash/resources/vector_icons/vector_icons.h"
#include "grit/ash_strings.h"
#include "ui/base/l10n/l10n_util.h"
@@ -38,8 +39,8 @@ views::View* CaptureScreenAction::CreateView() {
l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_CAPTURE_SCREEN_ACTION));
}
-gfx::VectorIconId CaptureScreenAction::GetPaletteIconId() {
- return gfx::VectorIconId::PALETTE_ACTION_CAPTURE_SCREEN;
+const gfx::VectorIcon& CaptureScreenAction::GetPaletteIcon() const {
+ return kPaletteActionCaptureScreenIcon;
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698