| Index: ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
|
| diff --git a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
|
| deleted file mode 100644
|
| index 6dae85d2ef4c701fc429c02ec5c8eccb2b08cd20..0000000000000000000000000000000000000000
|
| --- a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
|
| +++ /dev/null
|
| @@ -1,55 +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/tools/laser_pointer_mode.h"
|
| -
|
| -#include "ash/common/palette_delegate.h"
|
| -#include "ash/common/system/chromeos/palette/palette_ids.h"
|
| -#include "ash/common/wm_shell.h"
|
| -#include "ash/resources/vector_icons/vector_icons.h"
|
| -#include "ash/strings/grit/ash_strings.h"
|
| -#include "ui/base/l10n/l10n_util.h"
|
| -
|
| -namespace ash {
|
| -
|
| -LaserPointerMode::LaserPointerMode(Delegate* delegate)
|
| - : CommonPaletteTool(delegate) {
|
| -}
|
| -
|
| -LaserPointerMode::~LaserPointerMode() {}
|
| -
|
| -PaletteGroup LaserPointerMode::GetGroup() const {
|
| - return PaletteGroup::MODE;
|
| -}
|
| -
|
| -PaletteToolId LaserPointerMode::GetToolId() const {
|
| - return PaletteToolId::LASER_POINTER;
|
| -}
|
| -
|
| -void LaserPointerMode::OnEnable() {
|
| - CommonPaletteTool::OnEnable();
|
| -
|
| - WmShell::Get()->SetLaserPointerEnabled(true);
|
| - delegate()->HidePalette();
|
| -}
|
| -
|
| -void LaserPointerMode::OnDisable() {
|
| - CommonPaletteTool::OnDisable();
|
| -
|
| - WmShell::Get()->SetLaserPointerEnabled(false);
|
| -}
|
| -
|
| -const gfx::VectorIcon& LaserPointerMode::GetActiveTrayIcon() const {
|
| - return kPaletteTrayIconLaserPointerIcon;
|
| -}
|
| -
|
| -const gfx::VectorIcon& LaserPointerMode::GetPaletteIcon() const {
|
| - return kPaletteModeLaserPointerIcon;
|
| -}
|
| -
|
| -views::View* LaserPointerMode::CreateView() {
|
| - return CreateDefaultView(
|
| - l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_LASER_POINTER_MODE));
|
| -}
|
| -} // namespace ash
|
|
|