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

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

Issue 1847823005: Fix Event Latency Info on generate gesture events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debugging 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..b6fc6a129e8c784b0c3b838ec62996473eb512d7 100644
--- a/content/browser/renderer_host/input/input_router_client.h
+++ b/content/browser/renderer_host/input/input_router_client.h
@@ -53,6 +53,12 @@ class CONTENT_EXPORT InputRouterClient {
// Called when a renderer fling has terminated.
virtual void DidStopFlinging() = 0;
+
+ // Called when the input router generates an event. It is intended that the
+ // client will do some processing on |gesture_event| and then send it back
+ // to the InputRouter via SendGestureEvent.
+ virtual void ForwardGestureEvent(
+ const blink::WebGestureEvent& gesture_event) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698