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

Unified Diff: ash/common/system/chromeos/palette/palette_tool_manager.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_manager.h
diff --git a/ash/common/system/chromeos/palette/palette_tool_manager.h b/ash/common/system/chromeos/palette/palette_tool_manager.h
index 798624803784dff32ec90a2cead66a28f27c5760..c2375bd61bf96f5c3e272fa97c4efc490c86c792 100644
--- a/ash/common/system/chromeos/palette/palette_tool_manager.h
+++ b/ash/common/system/chromeos/palette/palette_tool_manager.h
@@ -75,7 +75,7 @@ class ASH_EXPORT PaletteToolManager : public PaletteTool::Delegate {
// Fetch the active tray icon for the given tool. Returns
// gfx::VectorIconId::VECTOR_ICON_NONE if not available.
- gfx::VectorIconId GetActiveTrayIcon(PaletteToolId tool_id);
+ const gfx::VectorIcon& GetActiveTrayIcon(PaletteToolId tool_id) const;
// Create views for all of the registered tools.
std::vector<PaletteToolView> CreateViews();
@@ -91,7 +91,7 @@ class ASH_EXPORT PaletteToolManager : public PaletteTool::Delegate {
void HidePalette() override;
WmWindow* GetWindow() override;
- PaletteTool* FindToolById(PaletteToolId tool_id);
+ PaletteTool* FindToolById(PaletteToolId tool_id) const;
// Unowned pointer to the delegate to provide external functionality.
Delegate* delegate_;
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tool.cc ('k') | ash/common/system/chromeos/palette/palette_tool_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698