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

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

Issue 19670007: Send input event's LatencyInfo back from renderer to browser when acked (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix compile error in immediate_input_router_unittest.cc Created 7 years, 4 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/touch_event_queue.h
diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h
index 8fb4b9301f3de3e1e55ceea3dafd8e5c44f2aa3e..23dda66c38bd70a0fb17eda0a2636b5fb6b3f0c1 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -49,7 +49,8 @@ class TouchEventQueue {
// Notifies the queue that a touch-event has been processed by the renderer.
// At this point, the queue may send one or more gesture events and/or
// additional queued touch-events to the renderer.
- void ProcessTouchAck(InputEventAckState ack_result);
+ void ProcessTouchAck(InputEventAckState ack_result,
+ const ui::LatencyInfo& latency_info);
// Empties the queue of touch events. This may result in any number of gesture
// events being sent to the renderer.
@@ -69,7 +70,8 @@ class TouchEventQueue {
// Pops the touch-event from the top of the queue and sends it to the
// TouchEventQueueClient. This reduces the size of the queue by one.
- void PopTouchEventWithAck(InputEventAckState ack_result);
+ void PopTouchEventToClient(InputEventAckState ack_result,
+ const ui::LatencyInfo& renderer_latency_info);
bool ShouldForwardToRenderer(const WebKit::WebTouchEvent& event) const;

Powered by Google App Engine
This is Rietveld 408576698