Index: ui/events/gesture_detection/motion_event.h |
diff --git a/ui/events/gesture_detection/motion_event.h b/ui/events/gesture_detection/motion_event.h |
index f0d6354f77c32b3f8dae12fa9042ecd08587295e..741d1d5e5387afcaacc4b5b3ad0fc178d44b5882 100644 |
--- a/ui/events/gesture_detection/motion_event.h |
+++ b/ui/events/gesture_detection/motion_event.h |
@@ -31,6 +31,8 @@ class GESTURE_DETECTION_EXPORT MotionEvent { |
virtual int GetId() const = 0; |
virtual Action GetAction() const = 0; |
+ // Only valid if |GetAction()| returns ACTION_POINTER_UP or |
+ // ACTION_POINTER_DOWN. |
virtual int GetActionIndex() const = 0; |
virtual size_t GetPointerCount() const = 0; |
virtual int GetPointerId(size_t pointer_index) const = 0; |