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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

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/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 6bb3159a0dd1937ba1f31c4d35b05847208b11e6..2c2364fc861f41c2dabb04a7dcb3389fca89ad70 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -264,7 +264,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
cc::SurfaceHittestDelegate* delegate,
const gfx::Point& point,
gfx::Point* transformed_point);
- virtual void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) {}
+ virtual void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event,
+ const ui::LatencyInfo& latency) {}
virtual void ProcessMouseEvent(const blink::WebMouseEvent& event,
const ui::LatencyInfo& latency) {}
virtual void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,

Powered by Google App Engine
This is Rietveld 408576698