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

Side by Side Diff: ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc

Issue 2204753002: palette-tool-laser-pointer boilerplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@note-options
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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/common/system/chromeos/palette/tools/laser_pointer_mode.h"
6
7 #include "ash/common/system/chromeos/palette/palette_ids.h"
8
9 namespace ash {
10
11 LaserPointerMode::LaserPointerMode(Delegate* delegate)
12 : CommonPaletteTool(delegate) {}
13
14 LaserPointerMode::~LaserPointerMode() {}
15
16 PaletteGroup LaserPointerMode::GetGroup() const {
17 return PaletteGroup::MODE;
18 }
19
20 PaletteToolId LaserPointerMode::GetToolId() const {
21 return PaletteToolId::LASER_POINTER;
22 }
23
24 gfx::VectorIconId LaserPointerMode::GetActiveTrayIcon() {
25 return gfx::VectorIconId::PALETTE_TRAY_ICON_LASER_POINTER;
26 }
27
28 gfx::VectorIconId LaserPointerMode::GetPaletteIconId() {
29 return gfx::VectorIconId::PALETTE_MODE_LASER_POINTER;
30 }
31
32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/palette/tools/laser_pointer_mode.h ('k') | ui/gfx/vector_icons/palette_mode_laser_pointer.icon » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698