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

Unified Diff: content/browser/renderer_host/input/web_input_event_util.cc

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: Motion events Created 5 years, 9 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/web_input_event_util.cc
diff --git a/content/browser/renderer_host/input/web_input_event_util.cc b/content/browser/renderer_host/input/web_input_event_util.cc
index 150d83e8ee55a5024ce24dfefe0bba853db8207c..745c3972722d9c1101c3c07cfc408dccec4bbb75 100644
--- a/content/browser/renderer_host/input/web_input_event_util.cc
+++ b/content/browser/renderer_host/input/web_input_event_util.cc
@@ -275,6 +275,7 @@ blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
result.causesScrollingIfUncanceled = may_cause_scrolling;
result.modifiers = EventFlagsToWebEventModifiers(event.GetFlags());
+ result.uniqueTouchEventId = event.GetUniqueId();
result.touchesLength =
std::min(event.GetPointerCount(),
static_cast<size_t>(WebTouchEvent::touchesLengthCap));

Powered by Google App Engine
This is Rietveld 408576698