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

Unified Diff: content/renderer/render_view_impl.h

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Keep coalesced events in main thread event queue unittests 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
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 7cdb321b1fa4d048b90df9de85bf90603e333999..227986b993ab799c4bede81ea347474bcd569d59 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -640,9 +640,11 @@ class CONTENT_EXPORT RenderViewImpl
void UpdateWebViewWithDeviceScaleFactor();
// Send the appropriate ack to be able discard this input event message.
- void OnDiscardInputEvent(const blink::WebInputEvent* input_event,
- const ui::LatencyInfo& latency_info,
- InputEventDispatchType dispatch_type);
+ void OnDiscardInputEvent(
+ const blink::WebInputEvent* input_event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type);
// ---------------------------------------------------------------------------
// ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put

Powered by Google App Engine
This is Rietveld 408576698