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

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

Issue 25022003: Report LatencyInfo through trace buffer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix compile error Created 7 years, 2 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 5a8546eb5f8ad197c8b31b2943033aacf41dc06d..5f4f7fbc49ae45f8e441c4af9e01074c77d3cfff 100644
--- a/content/browser/renderer_host/input/immediate_input_router.h
+++ b/content/browser/renderer_host/input/immediate_input_router.h
@@ -126,19 +126,21 @@ private:
// Called by ProcessInputEventAck() to process a wheel event ack message.
// This could result in a task being posted to allow additional wheel
// input messages to be coalesced.
- void ProcessWheelAck(InputEventAckState ack_result);
+ void ProcessWheelAck(InputEventAckState ack_result,
+ const ui::LatencyInfo& latency);
// Called by ProcessInputEventAck() to process a gesture event ack message.
// This validates the gesture for suppression of touchpad taps and sends one
// previously queued coalesced gesture if it exists.
void ProcessGestureAck(WebKit::WebInputEvent::Type,
- InputEventAckState ack_result);
+ InputEventAckState ack_result,
+ const ui::LatencyInfo& latency);
// 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,
- const ui::LatencyInfo& latency_info);
+ const ui::LatencyInfo& latency);
void HandleGestureScroll(
const GestureEventWithLatencyInfo& gesture_event);

Powered by Google App Engine
This is Rietveld 408576698