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

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

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year Created 3 years, 8 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/system/palette/palette_ids.cc ('k') | ash/system/palette/tools/metalayer_mode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/palette/palette_tool.cc
diff --git a/ash/system/palette/palette_tool.cc b/ash/system/palette/palette_tool.cc
index 74b88a0f33f4fcf334d6a097a69fa20bfff09e4a..44957a16c8f1846f3073744a7cf59ae5df9046a3 100644
--- a/ash/system/palette/palette_tool.cc
+++ b/ash/system/palette/palette_tool.cc
@@ -11,6 +11,7 @@
#include "ash/system/palette/tools/create_note_action.h"
#include "ash/system/palette/tools/laser_pointer_mode.h"
#include "ash/system/palette/tools/magnifier_mode.h"
+#include "ash/system/palette/tools/metalayer_mode.h"
#include "base/memory/ptr_util.h"
#include "ui/gfx/paint_vector_icon.h"
@@ -21,6 +22,7 @@ void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {
tool_manager->AddTool(base::MakeUnique<CaptureRegionMode>(tool_manager));
tool_manager->AddTool(base::MakeUnique<CaptureScreenAction>(tool_manager));
tool_manager->AddTool(base::MakeUnique<CreateNoteAction>(tool_manager));
+ tool_manager->AddTool(base::MakeUnique<MetalayerMode>(tool_manager));
tool_manager->AddTool(base::MakeUnique<LaserPointerMode>(tool_manager));
tool_manager->AddTool(base::MakeUnique<MagnifierMode>(tool_manager));
}
« no previous file with comments | « ash/system/palette/palette_ids.cc ('k') | ash/system/palette/tools/metalayer_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698