| 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 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_SCREEN_ACTION_H_ | 5 #ifndef ASH_SYSTEM_PALETTE_TOOLS_CAPTURE_SCREEN_ACTION_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_SCREEN_ACTION_H_ | 6 #define ASH_SYSTEM_PALETTE_TOOLS_CAPTURE_SCREEN_ACTION_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/system/chromeos/palette/common_palette_tool.h" | 9 #include "ash/system/palette/common_palette_tool.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 class ASH_EXPORT CaptureScreenAction : public CommonPaletteTool { | 13 class ASH_EXPORT CaptureScreenAction : public CommonPaletteTool { |
| 14 public: | 14 public: |
| 15 explicit CaptureScreenAction(Delegate* delegate); | 15 explicit CaptureScreenAction(Delegate* delegate); |
| 16 ~CaptureScreenAction() override; | 16 ~CaptureScreenAction() override; |
| 17 | 17 |
| 18 private: | 18 private: |
| 19 // PaletteTool overrides. | 19 // PaletteTool overrides. |
| 20 PaletteGroup GetGroup() const override; | 20 PaletteGroup GetGroup() const override; |
| 21 PaletteToolId GetToolId() const override; | 21 PaletteToolId GetToolId() const override; |
| 22 void OnEnable() override; | 22 void OnEnable() override; |
| 23 views::View* CreateView() override; | 23 views::View* CreateView() override; |
| 24 | 24 |
| 25 // CommonPaletteTool overrides. | 25 // CommonPaletteTool overrides. |
| 26 const gfx::VectorIcon& GetPaletteIcon() const override; | 26 const gfx::VectorIcon& GetPaletteIcon() const override; |
| 27 | 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(CaptureScreenAction); | 28 DISALLOW_COPY_AND_ASSIGN(CaptureScreenAction); |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace ash | 31 } // namespace ash |
| 32 | 32 |
| 33 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_SCREEN_ACTION_H_ | 33 #endif // ASH_SYSTEM_PALETTE_TOOLS_CAPTURE_SCREEN_ACTION_H_ |
| OLD | NEW |