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

Unified Diff: content/renderer/render_view_impl.cc

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
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index cc597bd1005feb03373f86ae3d7fa3b5266b330f..6b4072e2cfa40e5ffd7f1b3d87998c9cbccf6630 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2715,6 +2715,7 @@ void RenderViewImpl::UpdateWebViewWithDeviceScaleFactor() {
void RenderViewImpl::OnDiscardInputEvent(
const blink::WebInputEvent* input_event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
dcheng 2017/01/23 19:38:58 Though I'm a little surprised that this doesn't se
Navid Zolghadr 2017/01/23 21:42:04 I believe there are some paths that may still need
dcheng 2017/01/23 21:46:26 Might be better to just add it when it's needed? I
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