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

Unified Diff: content/browser/renderer_host/input/motion_event_android.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/motion_event_android.h
diff --git a/content/browser/renderer_host/input/motion_event_android.h b/content/browser/renderer_host/input/motion_event_android.h
index f4e8c9422ddd7778292257818911c2661c033aac..5d6a15fee5ca041e2b2f7c2db61186e8e53cb080 100644
--- a/content/browser/renderer_host/input/motion_event_android.h
+++ b/content/browser/renderer_host/input/motion_event_android.h
@@ -59,6 +59,7 @@ class CONTENT_EXPORT MotionEventAndroid : public ui::MotionEvent {
// ui::MotionEvent methods.
int GetId() const override;
+ uint64 GetUniqueEventId() const override;
Action GetAction() const override;
int GetActionIndex() const override;
size_t GetPointerCount() const override;
@@ -123,6 +124,9 @@ class CONTENT_EXPORT MotionEventAndroid : public ui::MotionEvent {
ToolType tool_type;
} cached_pointers_[MAX_POINTERS_TO_CACHE];
+ // A unique identifier for the Android motion event.
+ const uint64 unique_event_id_;
+
DISALLOW_COPY_AND_ASSIGN(MotionEventAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698