Index: ui/views/pointer_watcher.h |
diff --git a/ui/views/pointer_watcher.h b/ui/views/pointer_watcher.h |
index 715ec130193bc51707283caa7f7247ab90549e6e..7a68216db7d3b030452edf0dab44aa271efd8d66 100644 |
--- a/ui/views/pointer_watcher.h |
+++ b/ui/views/pointer_watcher.h |
@@ -19,6 +19,20 @@ class PointerEvent; |
namespace views { |
class Widget; |
+// When a PointerWatcher is added the types of events desired is specified by |
+// way of PointerWatcherEventTypes. |
+enum class PointerWatcherEventTypes { |
+ // The PointerWatcher is interested in press, release, capture and mouse |
+ // wheel. |
+ BASIC, |
+ // The PointerWatcher is interested in BASIC events, as well as move |
+ // events. |
+ MOVES, |
+ // The PointerWatcher is interested in MOVE events, as well as drag |
+ // events. |
+ 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. |