Index: content/common/input/synthetic_gesture_params.h |
diff --git a/content/common/input/synthetic_gesture_params.h b/content/common/input/synthetic_gesture_params.h |
index 1c40ca98fd2a025e0d3898110e5b4bda6e1c9bb0..ac9d5653ef70803a163800850be079dd4fcb6369 100644 |
--- a/content/common/input/synthetic_gesture_params.h |
+++ b/content/common/input/synthetic_gesture_params.h |
@@ -48,8 +48,19 @@ struct CONTENT_EXPORT SyntheticGestureParams { |
SMOOTH_DRAG_GESTURE, |
PINCH_GESTURE, |
TAP_GESTURE, |
- SYNTHETIC_GESTURE_TYPE_MAX = TAP_GESTURE |
+ POINTER_ACTION, |
+ SYNTHETIC_GESTURE_TYPE_MAX = POINTER_ACTION |
}; |
+ |
+ // When we send actions one by one, once we receive a PROCESS action, we will |
tdresser
2016/03/02 19:37:56
Shouldn't there be a PROCESS action defined?
|
+ // start to dispatch a event with all the pending actions. |
+ enum PointerActionType { |
tdresser
2016/03/02 19:37:56
Might as well use an enum class here.
|
+ PRESS, |
+ MOVE, |
+ RELEASE, |
+ POINTER_ACTION_TYPE_MAX = RELEASE |
+ }; |
+ |
virtual GestureType GetGestureType() const = 0; |
// Returns true if the specific gesture source type is supported on this |