Index: content/common/input_messages.h |
diff --git a/content/common/input_messages.h b/content/common/input_messages.h |
index ed0f5f25218c4ce0d4a2851cc8941b461e15bf6f..44a79a59b329bd31ca7012cbd36bf72d23d3ad13 100644 |
--- a/content/common/input_messages.h |
+++ b/content/common/input_messages.h |
@@ -20,6 +20,7 @@ |
#include "content/common/input/synthetic_gesture_packet.h" |
#include "content/common/input/synthetic_gesture_params.h" |
#include "content/common/input/synthetic_pinch_gesture_params.h" |
+#include "content/common/input/synthetic_pointer_action_params.h" |
#include "content/common/input/synthetic_smooth_drag_gesture_params.h" |
#include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
#include "content/common/input/synthetic_tap_gesture_params.h" |
@@ -49,6 +50,9 @@ IPC_ENUM_TRAITS_MAX_VALUE( |
IPC_ENUM_TRAITS_MAX_VALUE( |
content::SyntheticGestureParams::GestureType, |
content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX) |
+IPC_ENUM_TRAITS_MAX_VALUE( |
+ content::SyntheticGestureParams::PointerActionType, |
+ content::SyntheticGestureParams::PointerActionType::POINTER_ACTION_TYPE_MAX) |
IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventDispatchType, |
content::InputEventDispatchType::DISPATCH_TYPE_MAX) |
IPC_ENUM_TRAITS_VALIDATE(content::TouchAction, ( |
@@ -108,6 +112,13 @@ IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) |
IPC_STRUCT_TRAITS_MEMBER(duration_ms) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams) |
+ IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
+ IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_arg) |
+ IPC_STRUCT_TRAITS_MEMBER(index_arg) |
+ IPC_STRUCT_TRAITS_MEMBER(position_arg) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) |
IPC_STRUCT_TRAITS_MEMBER(type) |
IPC_STRUCT_TRAITS_MEMBER(state) |