Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 356d33f4e10f18ad3f6378e3b1a232ffb282eeff..7f3da0b7d492d1814d6a7a9133631b68ed14fa03 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) |
@@ -1859,6 +1861,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, |
jdduke (slow)
2013/11/18 15:56:00
Could we make this an InputHostMsg and put in cont
Rick Byers
2013/11/19 22:14:59
Done. I saw this as similar to ViewHostMsg_HasTou
jdduke (slow)
2013/11/20 00:35:23
Ah, you're right of course. I've been meaning to
|
+ 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, |