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

Unified Diff: ash/common/palette_delegate.h

Issue 2311393004: Laser tool blocks events from propagating. (Closed)
Patch Set: Fixed patch set 1 errors. 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/palette_delegate.h
diff --git a/ash/common/palette_delegate.h b/ash/common/palette_delegate.h
index 8b6be72891504488cd105dfb5db06c016af2d834..1ba03f5764221d348481a1b8e0c36b306f4697dc 100644
--- a/ash/common/palette_delegate.h
+++ b/ash/common/palette_delegate.h
@@ -62,9 +62,8 @@ class PaletteDelegate {
// Cancels any active partial screenshot session.
virtual void CancelPartialScreenshot() = 0;
- // Called when the laser pointer has been enabled or disabled.
- virtual void OnLaserPointerEnabled() = 0;
- virtual void OnLaserPointerDisabled() = 0;
+ // Enables or disables the laser pointer.
+ virtual void SetLaserPointerState(bool enabled) = 0;
James Cook 2016/09/14 17:52:25 Instead of delegating this call via //ash/common -
sammiequon 2016/09/14 21:44:08 Done.
private:
DISALLOW_ASSIGN(PaletteDelegate);

Powered by Google App Engine
This is Rietveld 408576698