Index: content/common/input_messages.h |
diff --git a/content/common/input_messages.h b/content/common/input_messages.h |
index 603053f750ccc4d5ffb10b3d93a4059ad81bdece..25b420cb7b4fff861e626dc81eb7419f71ddb709 100644 |
--- a/content/common/input_messages.h |
+++ b/content/common/input_messages.h |
@@ -17,6 +17,7 @@ |
#include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
#include "content/port/common/input_event_ack_state.h" |
#include "content/public/common/common_param_traits.h" |
+#include "content/common/input/touch_action.h" |
#include "ipc/ipc_message_macros.h" |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
#include "ui/events/latency_info.h" |
@@ -40,6 +41,8 @@ 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::TouchAction, |
+ content::TOUCH_ACTION_MAX) |
IPC_STRUCT_TRAITS_BEGIN(content::EditCommand) |
IPC_STRUCT_TRAITS_MEMBER(name) |
@@ -168,6 +171,9 @@ IPC_MESSAGE_ROUTED3(InputHostMsg_HandleInputEvent_ACK, |
content::InputEventAckState /* ack_result */, |
ui::LatencyInfo /* latency_info */) |
+// Notifies the allowed touch actions for a new touch point. |
+IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, |
+ content::TouchAction /* touch_action */) |
// Adding a new message? Stick to the sort order above: first platform |
// independent InputMsg, then ifdefs for platform specific InputMsg, then |