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

Unified Diff: content/browser/renderer_host/input/immediate_input_router.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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/immediate_input_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/immediate_input_router.h
diff --git a/content/browser/renderer_host/input/immediate_input_router.h b/content/browser/renderer_host/input/immediate_input_router.h
index 864d3872aa9123430c5b3d50a1c283991b2378a5..270ca3dc67e086230811e7079e299236e13b1225 100644
--- a/content/browser/renderer_host/input/immediate_input_router.h
+++ b/content/browser/renderer_host/input/immediate_input_router.h
@@ -95,7 +95,8 @@ private:
// IPC message handlers
void OnInputEventAck(WebKit::WebInputEvent::Type event_type,
- InputEventAckState ack_result);
+ InputEventAckState ack_result,
+ const ui::LatencyInfo& latency_info);
void OnMsgMoveCaretAck();
void OnSelectRangeAck();
void OnHasTouchEventHandlers(bool has_handlers);
@@ -104,7 +105,8 @@ private:
// processed in the renderer, or synchonously from |FilterAndSendInputevent()|
// if the event was filtered by the |client_| prior to sending.
void ProcessInputEventAck(WebKit::WebInputEvent::Type event_type,
- InputEventAckState ack_result);
+ InputEventAckState ack_result,
+ const ui::LatencyInfo& latency_info);
// Called by ProcessInputEventAck() to process a keyboard event ack message.
void ProcessKeyboardAck(int type, InputEventAckState ack_result);
@@ -122,7 +124,8 @@ private:
// Called on ProcessInputEventAck() to process a touch event ack message.
// This can result in a gesture event being generated and sent back to the
// renderer.
- void ProcessTouchAck(InputEventAckState ack_result);
+ void ProcessTouchAck(InputEventAckState ack_result,
+ const ui::LatencyInfo& latency_info);
int routing_id() const { return routing_id_; }
« no previous file with comments | « no previous file | content/browser/renderer_host/input/immediate_input_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698