Fix end-to-end EventLatency metrics for key events
Currently, we do not report end-to-end EventLatency metrics for WebInputEvent's of type kRawKeyDown and kChar. An example is when a user enters a text in an input field. The reason is that the function that converts WebInputEvent::Type to ui::EventType return ET_UNKNOWN for these two specific event types. It should return ET_KEY_PRESSED. Bug: 1054007 Change-Id: I701a71c43dc2f2b13ee20607b0950858155398e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2085597 Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#760358}
Showing
Please register or sign in to comment