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

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

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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..eccd3b82999adfa753c107eb370aea8315b969ba 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,
InputEventAckState ack_result,
const ui::LatencyInfo& latency_info,
+ uint64 uniqueEventId,
tdresser 2015/04/09 12:33:06 unique_event_id
tdresser 2015/04/09 12:33:06 I'm not clear on when you're calling it unique_tou
lanwei 2015/04/16 17:09:06 Done.
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,
+ uint64 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