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

Unified Diff: ui/events/event.cc

Issue 2753163004: Remove ID from ui::PointerEvent's constructors (Closed)
Patch Set: Created 3 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 | « ui/events/event.h ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index fd08fe7be3cecf50a5612b719bd9e99675217517..5b50f66782fc4f63ce07aff39cfe0a6eabb03c09 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -1069,7 +1069,6 @@ PointerEvent::PointerEvent(EventType type,
const gfx::Point& location,
const gfx::Point& root_location,
int flags,
- int pointer_id,
int changed_button_flags,
const PointerDetails& pointer_details,
base::TimeTicks time_stamp)
@@ -1080,7 +1079,6 @@ PointerEvent::PointerEvent(EventType type,
flags),
changed_button_flags_(changed_button_flags),
details_(pointer_details) {
- details_.id = pointer_id;
if (details_.pointer_type == EventPointerType::POINTER_TYPE_TOUCH)
latency()->set_source_event_type(ui::SourceEventType::TOUCH);
else if (type == ET_POINTER_WHEEL_CHANGED)
« no previous file with comments | « ui/events/event.h ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698