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

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

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use queue to store the IDs for sent async touchmove Created 5 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_impl.h
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
index 1abe33b6ad728fda3601ee28722f87e1874aa247..335e96c8a2a6f30ebfa86b3aa5956445891e48f4 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -145,6 +145,7 @@ private:
void ProcessInputEventAck(blink::WebInputEvent::Type event_type,
jdduke (slow) 2015/05/01 19:11:09 What if we add a struct InputEventAck { type, s
InputEventAckState ack_result,
const ui::LatencyInfo& latency_info,
+ const uint32 unique_touch_event_id,
AckSource ack_source);
// Dispatches the ack'ed event to |ack_handler_|.
@@ -169,7 +170,8 @@ private:
// Forwards the event ack to |touch_event_queue_|, potentially triggering
// dispatch of queued touch events, or the creation of gesture events.
void ProcessTouchAck(InputEventAckState ack_result,
- const ui::LatencyInfo& latency);
+ const ui::LatencyInfo& latency,
+ const uint32 unique_touch_event_id);
// Called when a touch timeout-affecting bit has changed, in turn toggling the
// touch ack timeout feature of the |touch_event_queue_| as appropriate. Input

Powered by Google App Engine
This is Rietveld 408576698