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

Unified Diff: content/renderer/render_view_impl.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/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 6470e87366fee38175c1d05b1d6bb972caca7321..8b9def637285553be0fae68830780465a9a685f6 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -692,9 +692,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