Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: content/common/input_messages.h

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit tests Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 5bdda8fb73949625632cc5077e56c2addf983c95..fcf7f366c239ad17993ee54aae6871d4b0e09b65 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -114,6 +114,10 @@ IPC_STRUCT_BEGIN(InputHostMsg_HandleInputEvent_ACK_Params)
IPC_STRUCT_MEMBER(scoped_ptr<content::DidOverscrollParams>, overscroll)
IPC_STRUCT_END()
+IPC_STRUCT_BEGIN(InputHostMsg_HandleUncancelableTouchMoveEvent_ACK_Params)
+IPC_STRUCT_MEMBER(blink::WebInputEvent::Type, type)
tdresser 2015/03/25 14:16:18 If the name includes "TouchMove" we don't need to
lanwei 2015/03/26 11:54:38 Done.
+IPC_STRUCT_END()
+
// Sends an input event to the render widget.
IPC_MESSAGE_ROUTED3(InputMsg_HandleInputEvent,
IPC::WebInputEventPointer /* event */,
@@ -241,6 +245,9 @@ IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted)
IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK,
InputHostMsg_HandleInputEvent_ACK_Params)
+IPC_MESSAGE_ROUTED1(InputHostMsg_HandleUncancelableTouchMoveEvent_ACK,
+ InputHostMsg_HandleUncancelableTouchMoveEvent_ACK_Params)
+
IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture,
content::SyntheticGesturePacket)

Powered by Google App Engine
This is Rietveld 408576698