Index: ui/views/pointer_watcher.h |
diff --git a/ui/views/pointer_watcher.h b/ui/views/pointer_watcher.h |
index 715ec130193bc51707283caa7f7247ab90549e6e..ab645e6b34851534e9cfc64de20d67d5249da251 100644 |
--- a/ui/views/pointer_watcher.h |
+++ b/ui/views/pointer_watcher.h |
@@ -19,6 +19,13 @@ class PointerEvent; |
namespace views { |
class Widget; |
+// When pointer watchers are added they need to specify which events they want |
sky
2016/08/31 23:27:39
How about:
When a PointerWatcher is added the typ
sammiequon
2016/09/01 00:49:24
Done.
|
+// to receive. BASIC means they receive only presses, releases, capture and |
+// wheel events, MOVES means they receive move events in addition, and DRAGS |
+// means |
+// they receive move and drag events in addition. |
+enum class PointerWatcherEventTypes { BASIC, MOVES, DRAGS }; |
+ |
// An interface for read-only observation of pointer events (in particular, the |
// events cannot be marked as handled). Only certain event types are supported. |
// The |target| is the top-level widget that will receive the event, if any. |