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

Unified Diff: content/common/input_messages.h

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase Created 3 years, 11 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
« no previous file with comments | « content/common/input/event_with_latency_info.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 5a003383667dcca113695a992bf4ad39f59141be..7221f95d3d31c18cd2cfd6877c938d8ccab62dbe 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -135,11 +135,15 @@ IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id)
IPC_STRUCT_TRAITS_END()
-// Sends an input event to the render widget.
-IPC_MESSAGE_ROUTED3(InputMsg_HandleInputEvent,
- IPC::WebInputEventPointer /* event */,
- ui::LatencyInfo /* latency_info */,
- content::InputEventDispatchType)
+// Sends an input event to the render widget. The input event in general
+// contains a list of coalesced events and one event that is representative of
+// all those events (https://w3c.github.io/pointerevents/extension.html).
+IPC_MESSAGE_ROUTED4(
+ InputMsg_HandleInputEvent,
+ IPC::WebInputEventPointer /* event */,
+ std::vector<IPC::WebInputEventPointer> /* coalesced events */,
+ ui::LatencyInfo /* latency_info */,
+ content::InputEventDispatchType)
// Sends the cursor visibility state to the render widget.
IPC_MESSAGE_ROUTED1(InputMsg_CursorVisibilityChange,
« no previous file with comments | « content/common/input/event_with_latency_info.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698