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

Side by Side Diff: ash/common/system/chromeos/palette/tools/capture_region_mode.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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
(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_REGION_ACTION_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/common/system/chromeos/palette/common_palette_tool.h"
10 #include "base/memory/weak_ptr.h"
11
12 namespace ash {
13
14 class ASH_EXPORT CaptureRegionMode : public CommonPaletteTool {
15 public:
16 explicit CaptureRegionMode(Delegate* delegate);
17 ~CaptureRegionMode() override;
18
19 private:
20 // PaletteTool:
21 PaletteGroup GetGroup() const override;
22 PaletteToolId GetToolId() const override;
23 const gfx::VectorIcon& GetActiveTrayIcon() const override;
24 void OnEnable() override;
25 void OnDisable() override;
26 views::View* CreateView() override;
27
28 // CommonPaletteTool:
29 const gfx::VectorIcon& GetPaletteIcon() const override;
30
31 void OnScreenshotDone();
32
33 base::WeakPtrFactory<CaptureRegionMode> weak_factory_;
34
35 DISALLOW_COPY_AND_ASSIGN(CaptureRegionMode);
36 };
37
38 } // namespace ash
39
40 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/palette/palette_utils.cc ('k') | ash/common/system/chromeos/palette/tools/capture_region_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698