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

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

Issue 2235063002: Add create note palette action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app-runtime-changes
Patch Set: Initial upload Created 4 years, 4 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.cc
diff --git a/ash/common/system/chromeos/palette/palette_tool.cc b/ash/common/system/chromeos/palette/palette_tool.cc
index 129ae05b6e65b3b62af3e682824a3ff1387afc15..5eb2b59a2df999ccbd57a5d18a2f4c7a8c8bccda 100644
--- a/ash/common/system/chromeos/palette/palette_tool.cc
+++ b/ash/common/system/chromeos/palette/palette_tool.cc
@@ -7,6 +7,7 @@
#include "ash/common/system/chromeos/palette/palette_tool_manager.h"
#include "ash/common/system/chromeos/palette/tools/capture_region_action.h"
#include "ash/common/system/chromeos/palette/tools/capture_screen_action.h"
+#include "ash/common/system/chromeos/palette/tools/create_note_action.h"
#include "ui/gfx/vector_icons_public.h"
namespace ash {
@@ -17,6 +18,7 @@ void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {
base::WrapUnique(new CaptureScreenAction(tool_manager)));
tool_manager->AddTool(
base::WrapUnique(new CaptureRegionAction(tool_manager)));
+ tool_manager->AddTool(base::WrapUnique(new CreateNoteAction(tool_manager)));
James Cook 2016/08/12 23:58:55 MakeUnique
jdufault 2016/08/16 21:38:18 Done.
}
PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {}

Powered by Google App Engine
This is Rietveld 408576698