Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 0022752eb64498f2f5f7c760304676ca93b8b12d..7480c9dc6ee563043bccdf8e38c96b56c0cf1317 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -33,6 +33,7 @@ |
#include "content/public/common/renderer_preferences.h" |
#include "content/public/common/stop_find_action.h" |
#include "content/public/common/three_d_api_types.h" |
+#include "content/public/common/touch_action.h" |
#include "content/public/common/window_container_type.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
@@ -90,6 +91,7 @@ IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
IPC_ENUM_TRAITS(content::StopFindAction) |
IPC_ENUM_TRAITS(content::ThreeDAPIType) |
+IPC_ENUM_TRAITS(content::TouchAction) |
IPC_ENUM_TRAITS(media::ChannelLayout) |
IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
IPC_ENUM_TRAITS(ui::MenuSourceType) |
@@ -1868,6 +1870,11 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, |
IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, |
bool /* has_handlers */) |
+// Notifies the allowed touch actions for a new touch point. |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchAction, |
+ int /* touch_id */, |
+ content::TouchAction /* touch_actions */) |
+ |
// A message from HTML-based UI. When (trusted) Javascript calls |
// send(message, args), this message is sent to the browser. |
IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |