Index: ui/views/pointer_watcher.h |
diff --git a/ui/views/pointer_watcher.h b/ui/views/pointer_watcher.h |
index 8270683214e99f946e0629d433a31662fb71d3a0..ff80d9d016149243f335edf8f985dbd6c493cb31 100644 |
--- a/ui/views/pointer_watcher.h |
+++ b/ui/views/pointer_watcher.h |
@@ -19,6 +19,16 @@ class PointerEvent; |
namespace views { |
class Widget; |
+// When pointer watchers are added they need to specify which events they want |
+// to receive. BASIC means they receive only presses and releases, MOVES means |
sky
2016/08/26 15:36:55
BASIC also means you get capture events and wheel
sammiequon
2016/08/26 18:34:20
Done.
|
+// they recieve move events as well and DRAGS means they receive drag events as |
+// well. |
+enum class RequestedEvents { |
sky
2016/08/26 15:36:55
This name is too generic outside of a class, how a
sammiequon
2016/08/26 18:34:20
Done.
|
+ BASIC = 0x01, |
+ MOVES = 0x02, |
+ DRAGS = 0x04 |
+}; |
+ |
// 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. |