summaryrefslogtreecommitdiffstats
path: root/content/common/input_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/input_messages.h')
-rw-r--r--content/common/input_messages.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 3ea17c7..235cfa3c5 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -18,6 +18,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"
@@ -41,6 +42,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)
@@ -175,6 +178,9 @@ IPC_MESSAGE_ROUTED3(InputHostMsg_HandleInputEvent_ACK,
IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture,
content::SyntheticGesturePacket)
+// 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