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

Unified Diff: content/browser/renderer_host/input/input_router_impl.cc

Issue 1911963005: Fix reporting of TouchToFirstScroll latency metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few nits Created 4 years, 8 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/browser/renderer_host/input/input_router_impl.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index 4c7f97b007106f1ea110bcfdf737ea926e37fa99..e6ddcd9ed7f0604b966f382d39266f4c7ed7f984 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -294,8 +294,10 @@ void InputRouterImpl::OnGestureEventAck(
ack_handler_->OnGestureEventAck(event, ack_result);
}
-void InputRouterImpl::ForwardGestureEvent(const blink::WebGestureEvent& event) {
- client_->ForwardGestureEvent(event);
+void InputRouterImpl::ForwardGestureEventWithLatencyInfo(
+ const blink::WebGestureEvent& event,
+ const ui::LatencyInfo& latency_info) {
+ client_->ForwardGestureEventWithLatencyInfo(event, latency_info);
}
void InputRouterImpl::SendMouseWheelEventImmediately(

Powered by Google App Engine
This is Rietveld 408576698