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

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

Issue 2269383002: Magnifier border is now more visible on light backgrounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: 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 0628ebd695f93e29101825bc4dd2314498576479..204fa86f570341370c0ee7e2d519723edad15caa 100644
--- a/ash/common/system/chromeos/palette/palette_tool.cc
+++ b/ash/common/system/chromeos/palette/palette_tool.cc
@@ -5,7 +5,10 @@
#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/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 "ash/common/system/chromeos/palette/tools/magnifier_mode.h"
#include "base/memory/ptr_util.h"
#include "ui/gfx/vector_icons_public.h"
@@ -13,7 +16,10 @@ namespace ash {
// static
void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {
+ tool_manager->AddTool(base::MakeUnique<CaptureRegionAction>(tool_manager));
+ tool_manager->AddTool(base::MakeUnique<CaptureScreenAction>(tool_manager));
tool_manager->AddTool(base::MakeUnique<CreateNoteAction>(tool_manager));
+ tool_manager->AddTool(base::MakeUnique<MagnifierMode>(tool_manager));
}
PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {}

Powered by Google App Engine
This is Rietveld 408576698