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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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
deleted file mode 100644
index 2ea40c10af753f9b9e6cd325f5068ca5db3cff8c..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/palette/palette_tool.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#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/palette_utils.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"
-#include "ash/common/system/chromeos/palette/tools/magnifier_mode.h"
-#include "base/memory/ptr_util.h"
-#include "ui/gfx/paint_vector_icon.h"
-
-namespace ash {
-
-// static
-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<LaserPointerMode>(tool_manager));
- tool_manager->AddTool(base::MakeUnique<MagnifierMode>(tool_manager));
-}
-
-PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {}
-
-PaletteTool::~PaletteTool() {}
-
-void PaletteTool::OnEnable() {
- enabled_ = true;
-}
-
-void PaletteTool::OnDisable() {
- enabled_ = false;
-}
-
-const gfx::VectorIcon& PaletteTool::GetActiveTrayIcon() const {
- return gfx::kNoneIcon;
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tool.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