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

Unified Diff: content/browser/renderer_host/input/input_router_client.h

Issue 1861733002: Add touch drag UMA latency metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually fix tests. Created 4 years, 8 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/input/input_router_client.h
diff --git a/content/browser/renderer_host/input/input_router_client.h b/content/browser/renderer_host/input/input_router_client.h
index 34fdf0eb9b7783bcbcaea9701dd46a4a71d079e9..b0fc5d3ee4d320bf606cdcccd38e9eaab98610a4 100644
--- a/content/browser/renderer_host/input/input_router_client.h
+++ b/content/browser/renderer_host/input/input_router_client.h
@@ -33,6 +33,11 @@ class CONTENT_EXPORT InputRouterClient {
const blink::WebInputEvent& input_event,
const ui::LatencyInfo& latency_info) = 0;
+ // Called just prior to the event being sent to the renderer.
+ virtual void OnForwardEventToRenderer(
+ const blink::WebInputEvent& input_event,
+ ui::LatencyInfo* latency_info) = 0;
+
// Called each time a WebInputEvent IPC is sent.
virtual void IncrementInFlightEventCount() = 0;

Powered by Google App Engine
This is Rietveld 408576698