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

Unified Diff: content/renderer/input/input_handler_proxy.cc

Issue 557403002: InputHandlerProxy to inform blink scheduler of input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/input/input_handler_proxy.cc
diff --git a/content/renderer/input/input_handler_proxy.cc b/content/renderer/input/input_handler_proxy.cc
index 6970d22003e9b589003fc7eb27bbdeb48ee372c3..7dc160d2d15cdbdfb0c53ee41e5db1b02b833740 100644
--- a/content/renderer/input/input_handler_proxy.cc
+++ b/content/renderer/input/input_handler_proxy.cc
@@ -186,6 +186,7 @@ InputHandlerProxy::HandleInputEventWithLatencyInfo(
scoped_ptr<cc::SwapPromiseMonitor> latency_info_swap_promise_monitor =
input_handler_->CreateLatencyInfoSwapPromiseMonitor(latency_info);
InputHandlerProxy::EventDisposition disposition = HandleInputEvent(event);
+ client_->DidHandleInputEvent();
Sami 2014/09/10 16:41:23 DidReceiveInputEvent No need for this call here.
alexclarke 2014/09/11 16:00:33 Done.
return disposition;
}
@@ -195,6 +196,7 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent(
TRACE_EVENT1("input", "InputHandlerProxy::HandleInputEvent",
"type", WebInputEventTraits::GetName(event.type));
+ client_->DidHandleInputEvent();
if (FilterInputEventForFlingBoosting(event))
return DID_HANDLE;
« no previous file with comments | « no previous file | content/renderer/input/input_handler_proxy_client.h » ('j') | content/renderer/input/input_handler_wrapper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698