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

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

Issue 2291913002: Allow the user to cancel the capture region action, and show its active status in the tray. (Closed)
Patch Set: Address comments 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.cc
diff --git a/ash/common/system/chromeos/palette/palette_tool.cc b/ash/common/system/chromeos/palette/palette_tool.cc
index c7a97da2e96473cfdcf854b90a930d52ec74cb3e..db0a68f42ff67bc30fa5620cf027fc0a5f543656 100644
--- a/ash/common/system/chromeos/palette/palette_tool.cc
+++ b/ash/common/system/chromeos/palette/palette_tool.cc
@@ -6,7 +6,7 @@
#include "ash/common/system/chromeos/palette/palette_tool_manager.h"
#include "ash/common/system/chromeos/palette/palette_utils.h"
-#include "ash/common/system/chromeos/palette/tools/capture_region_action.h"
+#include "ash/common/system/chromeos/palette/tools/capture_region_mode.h"
#include "ash/common/system/chromeos/palette/tools/capture_screen_action.h"
#include "ash/common/system/chromeos/palette/tools/create_note_action.h"
#include "ash/common/system/chromeos/palette/tools/laser_pointer_mode.h"
@@ -18,7 +18,7 @@ namespace ash {
// static
void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {
- tool_manager->AddTool(base::MakeUnique<CaptureRegionAction>(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<LaserPointerMode>(tool_manager));
« no previous file with comments | « ash/common/system/chromeos/palette/palette_ids.h ('k') | ash/common/system/chromeos/palette/palette_tool_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698