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

Unified Diff: ash/common/system/chromeos/palette/palette_tool.h

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/palette_tool.h
diff --git a/ash/common/system/chromeos/palette/palette_tool.h b/ash/common/system/chromeos/palette/palette_tool.h
index eaa5ff8821089db6cd745a0ec4781bb005aec9c4..bc7c2c2d703c44b73f12fec732af5db634f087ed 100644
--- a/ash/common/system/chromeos/palette/palette_tool.h
+++ b/ash/common/system/chromeos/palette/palette_tool.h
@@ -14,6 +14,10 @@
#include "base/macros.h"
#include "ui/gfx/vector_icon_types.h"
+namespace gfx {
+struct VectorIcon;
+}
+
namespace views {
class View;
}
@@ -84,7 +88,7 @@ class ASH_EXPORT PaletteTool {
// Returns an icon to use in the tray if this tool is active. Only one tool
// (per-group) should ever have an active icon at any given time.
- virtual gfx::VectorIconId GetActiveTrayIcon();
+ virtual const gfx::VectorIcon& GetActiveTrayIcon() const;
protected:
// Enables/disables the tool.
« no previous file with comments | « ash/common/system/chromeos/palette/common_palette_tool.cc ('k') | ash/common/system/chromeos/palette/palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698