Add input latency histograms for wheel events
commit19687827d2cbe7bdc377ed3785ce5331b179d091
authorccameron <ccameron@chromium.org>
Mon, 3 Nov 2014 23:33:47 +0000 (3 15:33 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Nov 2014 23:34:07 +0000 (3 23:34 +0000)
treed1f3ed285a087427510103a8bf6014ffbd237cf7
parent3e552f387b5aa0a5d0b1a00537085a79ad3e76c9
Add input latency histograms for wheel events

This works for touch events, but not for wheel events. Use the existing
touch latency machinery to enable logging of wheel events.

Update ComputeInputLatencyHistograms to report latency of
INPUT_EVENT_LATENCY_ACK_RWH_COMPONENT in the absence of a
INPUT_EVENT_LATENCY_UI_COMPONENT, as it is still valid.

BUG=224781

Review URL: https://codereview.chromium.org/681763003

Cr-Commit-Position: refs/heads/master@{#302518}
content/browser/renderer_host/render_widget_host_impl.cc
content/browser/renderer_host/render_widget_host_impl.h
tools/metrics/histograms/histograms.xml
ui/aura/gestures/gesture_recognizer_unittest.cc
ui/events/gestures/gesture_provider_aura.cc
ui/events/latency_info.cc
ui/events/latency_info.h