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

Unified Diff: ash/common/system/chromeos/palette/tools/create_note_action.cc

Issue 2316183003: Move a bunch of ash-only vector icons to ash/. (Closed)
Patch Set: drop the "id". Just "icon". It's cleaner. 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/create_note_action.cc
diff --git a/ash/common/system/chromeos/palette/tools/create_note_action.cc b/ash/common/system/chromeos/palette/tools/create_note_action.cc
index ca01e346366cc5d8bb00bca6a2766047fa345b55..64cc472c40f1186b275f55d1190dc73cc43773bb 100644
--- a/ash/common/system/chromeos/palette/tools/create_note_action.cc
+++ b/ash/common/system/chromeos/palette/tools/create_note_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"
@@ -42,8 +43,8 @@ views::View* CreateNoteAction::CreateView() {
l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_CREATE_NOTE_ACTION));
}
-gfx::VectorIconId CreateNoteAction::GetPaletteIconId() {
- return gfx::VectorIconId::PALETTE_ACTION_CREATE_NOTE;
+const gfx::VectorIcon& CreateNoteAction::GetPaletteIcon() const {
+ return kPaletteActionCreateNoteIcon;
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698