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

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

Issue 2269383002: Magnifier border is now more visible on light backgrounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 4 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 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CREATE_NOTE_ACTION_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_SCREEN_ACTION_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CREATE_NOTE_ACTION_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_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/common/system/chromeos/palette/common_palette_tool.h"
10 #include "base/macros.h"
11 10
12 namespace ash { 11 namespace ash {
13 12
14 // A button in the ash palette that launches the selected note-taking app when 13 class ASH_EXPORT CaptureScreenAction : public CommonPaletteTool {
15 // clicked. This action dynamically hides itself if it is not available.
16 class ASH_EXPORT CreateNoteAction : public CommonPaletteTool {
17 public: 14 public:
18 explicit CreateNoteAction(Delegate* delegate); 15 explicit CaptureScreenAction(Delegate* delegate);
19 ~CreateNoteAction() override; 16 ~CaptureScreenAction() override;
20 17
21 private: 18 private:
22 // PaletteTool overrides. 19 // PaletteTool overrides.
23 PaletteGroup GetGroup() const override; 20 PaletteGroup GetGroup() const override;
24 PaletteToolId GetToolId() const override; 21 PaletteToolId GetToolId() const override;
25 void OnEnable() override; 22 void OnEnable() override;
26 views::View* CreateView() override; 23 views::View* CreateView() override;
27 24
28 // CommonPaletteTool overrides. 25 // CommonPaletteTool overrides.
29 gfx::VectorIconId GetPaletteIconId() override; 26 gfx::VectorIconId GetPaletteIconId() override;
30 27
31 DISALLOW_COPY_AND_ASSIGN(CreateNoteAction); 28 DISALLOW_COPY_AND_ASSIGN(CaptureScreenAction);
32 }; 29 };
33 30
34 } // namespace ash 31 } // namespace ash
35 32
36 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CREATE_NOTE_ACTION_H_ 33 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_SCREEN_ACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698