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

Unified Diff: content/renderer/render_view_impl.cc

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.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index fd36ea7eab5294114f80c6c01745ea74b98706c1..3898026f38cc1b9d9097612f00357212baef357d 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3031,6 +3031,7 @@ void RenderViewImpl::UpdateWebViewWithDeviceScaleFactor() {
void RenderViewImpl::OnDiscardInputEvent(
const blink::WebInputEvent* input_event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
const ui::LatencyInfo& latency_info,
InputEventDispatchType dispatch_type) {
if (!input_event || (dispatch_type != DISPATCH_TYPE_BLOCKING &&

Powered by Google App Engine
This is Rietveld 408576698