Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1253)

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Restrict to RawKeyDown and Char events on Android & Mac Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index 5fdd44e11742e0167429eb174f7a3bc8ff66b740..16c406e498b20bb1e4b344735174a0a7ebcaf35b 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -475,8 +475,9 @@ cc::FrameSinkId RenderWidgetHostViewChildFrame::GetFrameSinkId() {
}
void RenderWidgetHostViewChildFrame::ProcessKeyboardEvent(
- const NativeWebKeyboardEvent& event) {
- host_->ForwardKeyboardEvent(event);
+ const NativeWebKeyboardEvent& event,
+ const ui::LatencyInfo& latency) {
+ host_->ForwardKeyboardEventWithLatencyInfo(event, latency);
}
void RenderWidgetHostViewChildFrame::ProcessMouseEvent(

Powered by Google App Engine
This is Rietveld 408576698