Add Keyboard Latency UMA Metrics.

https://codereview.chromium.org/2756893002
This commit is contained in:
Aleksei Kuzmin 2017-08-08 04:14:52 +03:00 committed by Cheng Zhao
parent f03ca53af5
commit ea4a36039a

View file

@ -1493,7 +1493,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,
blink::WebInputEvent::kNoModifiers,
ui::EventTimeForNow());
if (mate::ConvertFromV8(isolate, input_event, &keyboard_event)) {
view->ProcessKeyboardEvent(keyboard_event);
view->ProcessKeyboardEvent(keyboard_event, ui::LatencyInfo());
return;
}
} else if (type == blink::WebInputEvent::kMouseWheel) {