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

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: rebase & remove CrackMessage() Created 7 years, 5 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/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 7658603923ddbb81a15c7cfeda12c4e1ebd84db9..164c7554831908bf6229c6b5f975bcbbbf9a9937 100644
--- a/content/browser/renderer_host/input/immediate_input_router.h
+++ b/content/browser/renderer_host/input/immediate_input_router.h
@@ -94,7 +94,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);
@@ -103,7 +104,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);
@@ -121,7 +123,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_; }

Powered by Google App Engine
This is Rietveld 408576698