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