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

Side by Side Diff: ash/common/palette_delegate.h

Issue 2239743004: Palette tool laser prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch
Patch Set: Rebased. Created 4 years, 3 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/palette/palette_tool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PALETTE_DELEGATE_H_ 5 #ifndef ASH_COMMON_PALETTE_DELEGATE_H_
6 #define ASH_COMMON_PALETTE_DELEGATE_H_ 6 #define ASH_COMMON_PALETTE_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/callback_list.h" 10 #include "base/callback_list.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Returns true if the palette should be displayed. This is the one-shot 50 // Returns true if the palette should be displayed. This is the one-shot
51 // equivalent to AddPaletteEnableListener. 51 // equivalent to AddPaletteEnableListener.
52 virtual bool ShouldShowPalette() = 0; 52 virtual bool ShouldShowPalette() = 0;
53 53
54 // Take a screenshot of the entire window. 54 // Take a screenshot of the entire window.
55 virtual void TakeScreenshot() = 0; 55 virtual void TakeScreenshot() = 0;
56 56
57 // Take a screenshot of a user-selected region. 57 // Take a screenshot of a user-selected region.
58 virtual void TakePartialScreenshot() = 0; 58 virtual void TakePartialScreenshot() = 0;
59 59
60 // Called when the laser pointer has been enabled or disabled.
61 virtual void OnLaserPointerEnabled() = 0;
62 virtual void OnLaserPointerDisabled() = 0;
63
60 private: 64 private:
61 DISALLOW_ASSIGN(PaletteDelegate); 65 DISALLOW_ASSIGN(PaletteDelegate);
62 }; 66 };
63 67
64 } // namespace ash 68 } // namespace ash
65 69
66 #endif // ASH_COMMON_PALETTE_DELEGATE_H_ 70 #endif // ASH_COMMON_PALETTE_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/chromeos/palette/palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698