| OLD | NEW |
| 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/magnifier_mode.h" | 5 #include "ash/system/palette/tools/magnifier_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 MagnifierMode::MagnifierMode(Delegate* delegate) | 16 MagnifierMode::MagnifierMode(Delegate* delegate) |
| 17 : CommonPaletteTool(delegate) {} | 17 : CommonPaletteTool(delegate) {} |
| 18 | 18 |
| 19 MagnifierMode::~MagnifierMode() {} | 19 MagnifierMode::~MagnifierMode() {} |
| 20 | 20 |
| 21 PaletteGroup MagnifierMode::GetGroup() const { | 21 PaletteGroup MagnifierMode::GetGroup() const { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 views::View* MagnifierMode::CreateView() { | 44 views::View* MagnifierMode::CreateView() { |
| 45 return CreateDefaultView( | 45 return CreateDefaultView( |
| 46 l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_MAGNIFIER_MODE)); | 46 l10n_util::GetStringUTF16(IDS_ASH_STYLUS_TOOLS_MAGNIFIER_MODE)); |
| 47 } | 47 } |
| 48 | 48 |
| 49 const gfx::VectorIcon& MagnifierMode::GetPaletteIcon() const { | 49 const gfx::VectorIcon& MagnifierMode::GetPaletteIcon() const { |
| 50 return kPaletteModeMagnifyIcon; | 50 return kPaletteModeMagnifyIcon; |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace ash | 53 } // namespace ash |
| OLD | NEW |