Add Keyboard Latency UMA Metrics.
https://codereview.chromium.org/2756893002
This commit is contained in:
parent
f03ca53af5
commit
ea4a36039a
1 changed files with 1 additions and 1 deletions
|
@ -1493,7 +1493,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,
|
||||||
blink::WebInputEvent::kNoModifiers,
|
blink::WebInputEvent::kNoModifiers,
|
||||||
ui::EventTimeForNow());
|
ui::EventTimeForNow());
|
||||||
if (mate::ConvertFromV8(isolate, input_event, &keyboard_event)) {
|
if (mate::ConvertFromV8(isolate, input_event, &keyboard_event)) {
|
||||||
view->ProcessKeyboardEvent(keyboard_event);
|
view->ProcessKeyboardEvent(keyboard_event, ui::LatencyInfo());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (type == blink::WebInputEvent::kMouseWheel) {
|
} else if (type == blink::WebInputEvent::kMouseWheel) {
|
||||||
|
|
Loading…
Reference in a new issue