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

Unified Diff: content/renderer/input/input_event_filter.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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/renderer/input/input_event_filter.h
diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
index 320a9d1e550ce313fe6b3894c6017206cdf14230..ce180a4ec2d3d3af5d819750d65f7b06e97afbac 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -86,10 +86,12 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
bool OnMessageReceived(const IPC::Message& message) override;
// MainThreadEventQueueClient methods:
- void HandleEventOnMainThread(int routing_id,
- const blink::WebInputEvent* event,
- const ui::LatencyInfo& latency,
- InputEventDispatchType dispatch_type) override;
+ void HandleEventOnMainThread(
+ int routing_id,
+ const blink::WebInputEvent* event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
+ const ui::LatencyInfo& latency,
+ InputEventDispatchType dispatch_type) override;
// Send an InputEventAck IPC message. |touch_event_id| represents
// the unique event id for the original WebTouchEvent and should
// be 0 if otherwise. See WebInputEventTraits::GetUniqueTouchEventId.

Powered by Google App Engine
This is Rietveld 408576698