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

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

Issue 2194413003: Add laser pointer palette code w/o laser pointer impelmentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@note-options
Patch Set: Created 4 years, 5 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/palette/tools/laser_pointer_mode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/palette_tool.cc
diff --git a/ash/common/system/chromeos/palette/palette_tool.cc b/ash/common/system/chromeos/palette/palette_tool.cc
index f133468d9d394e06049ddaee0da05d883ec208c8..9e90e34b0183315bcb8bfd5161c8ce68a0ee7036 100644
--- a/ash/common/system/chromeos/palette/palette_tool.cc
+++ b/ash/common/system/chromeos/palette/palette_tool.cc
@@ -5,12 +5,15 @@
#include "ash/common/system/chromeos/palette/palette_tool.h"
#include "ash/common/system/chromeos/palette/palette_tool_manager.h"
+#include "ash/common/system/chromeos/palette/tools/laser_pointer_mode.h"
#include "ui/gfx/vector_icons_public.h"
namespace ash {
// static
-void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {}
+void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {
+ tool_manager->AddTool(base::WrapUnique(new LaserPointerMode(tool_manager)));
+}
PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {}
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/palette/tools/laser_pointer_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698