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

Unified Diff: public/web/WebInputEvent.h

Issue 1008573002: Add unique_event_id to the WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change to uint64_t and ID starts from 1 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
« no previous file with comments | « Source/web/WebInputEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 845454f8d36e4c8d11bd6776efd523ba2bc061c5..c4b22c51030898daa6602633b48dd937d02c965d 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -520,11 +520,15 @@ public:
// generated.
bool causesScrollingIfUncanceled;
+ // A unique identifier for the touch event.
+ uint64_t uniqueTouchEventId;
+
WebTouchEvent()
: WebInputEvent(sizeof(WebTouchEvent))
, touchesLength(0)
, cancelable(true)
, causesScrollingIfUncanceled(false)
+ , uniqueTouchEventId(1)
tdresser 2015/03/16 19:09:55 We want to ensure that every WebTouchEvent has a u
{
}
};
« no previous file with comments | « Source/web/WebInputEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698