mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add Keyboard Latency UMA Metrics.
https://codereview.chromium.org/2756893002
This commit is contained in:
committed by
Cheng Zhao
parent
f03ca53af5
commit
ea4a36039a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user