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

Unified Diff: components/exo/pointer.h

Issue 2572963002: exo: Produce an error if stylus delegate is already associated. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index ffc7099c9c01cad6822112e3de4e86cd27219388..157498a4d41c19c38b38b2c9f3c90368cb92a56e 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -46,6 +46,7 @@ class Pointer : public ui::EventHandler,
// pointer location, in surface local coordinates.
void SetCursor(Surface* surface, const gfx::Point& hotspot);
+ bool HasStylusDelegate() const;
// Set delegate for stylus events.
void SetStylusDelegate(PointerStylusDelegate* delegate);
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698