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

Unified Diff: content/browser/renderer_host/input/motion_event_web.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_web.h
diff --git a/content/browser/renderer_host/input/motion_event_web.h b/content/browser/renderer_host/input/motion_event_web.h
index f3d85abfc123b4a70fc89e211a240bc1e27b4aa3..34e954168b8baa6783685dc5970a19331ff13a06 100644
--- a/content/browser/renderer_host/input/motion_event_web.h
+++ b/content/browser/renderer_host/input/motion_event_web.h
@@ -17,7 +17,7 @@ class MotionEventWeb : public ui::MotionEvent {
~MotionEventWeb() override;
// ui::MotionEvent
- int GetId() const override;
+ uint32 GetUniqueEventId() const override;
Action GetAction() const override;
int GetActionIndex() const override;
size_t GetPointerCount() const override;
@@ -39,6 +39,7 @@ class MotionEventWeb : public ui::MotionEvent {
blink::WebTouchEvent event_;
Action cached_action_;
int cached_action_index_;
+ const uint32 unique_event_id_;
DISALLOW_COPY_AND_ASSIGN(MotionEventWeb);
};
« no previous file with comments | « content/browser/renderer_host/input/motion_event_android.cc ('k') | content/browser/renderer_host/input/motion_event_web.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698