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

Unified Diff: components/exo/pointer.h

Issue 2597753002: 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 8cfdbab86362c4f218a007b544b7e30dc5ce651b..70578bc764db49d0766a9bf0d5eb06e01ee1ac5b 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -47,6 +47,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