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

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

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/palette/tools/laser_pointer_mode.h" 5 #include "ash/system/palette/tools/laser_pointer_mode.h"
6 6
7 #include "ash/common/palette_delegate.h" 7 #include "ash/palette_delegate.h"
8 #include "ash/common/wm_shell.h"
9 #include "ash/resources/vector_icons/vector_icons.h" 8 #include "ash/resources/vector_icons/vector_icons.h"
10 #include "ash/strings/grit/ash_strings.h" 9 #include "ash/strings/grit/ash_strings.h"
11 #include "ash/system/palette/palette_ids.h" 10 #include "ash/system/palette/palette_ids.h"
11 #include "ash/wm_shell.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 LaserPointerMode::LaserPointerMode(Delegate* delegate) 16 LaserPointerMode::LaserPointerMode(Delegate* delegate)
17 : CommonPaletteTool(delegate) { 17 : CommonPaletteTool(delegate) {
18 } 18 }
19 19
20 LaserPointerMode::~LaserPointerMode() {} 20 LaserPointerMode::~LaserPointerMode() {}
21 21
(...skipping 24 matching lines...) Expand all
46 46
47 const gfx::VectorIcon& LaserPointerMode::GetPaletteIcon() const { 47 const gfx::VectorIcon& LaserPointerMode::GetPaletteIcon() const {
48 return kPaletteModeLaserPointerIcon; 48 return kPaletteModeLaserPointerIcon;
49 } 49 }
50 50
51 views::View* LaserPointerMode::CreateView() { 51 views::View* LaserPointerMode::CreateView() {
52 return CreateDefaultView( 52 return CreateDefaultView(
53 l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_LASER_POINTER_MODE)); 53 l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_LASER_POINTER_MODE));
54 } 54 }
55 } // namespace ash 55 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/palette/tools/create_note_unittest.cc ('k') | ash/system/palette/tools/magnifier_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698