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

Unified Diff: services/ui/ws/event_dispatcher.cc

Issue 2655303004: Add id properties to PointerEvent (Closed)
Patch Set: pointer id Created 3 years, 10 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: services/ui/ws/event_dispatcher.cc
diff --git a/services/ui/ws/event_dispatcher.cc b/services/ui/ws/event_dispatcher.cc
index 80822401aefcb63e6d4c7f6b0cdf56c01065c918..d170784f6f7f89451a2adf2184c5eb2137efc79b 100644
--- a/services/ui/ws/event_dispatcher.cc
+++ b/services/ui/ws/event_dispatcher.cc
@@ -370,7 +370,7 @@ void EventDispatcher::ProcessPointerEvent(const ui::PointerEvent& event) {
return;
}
- const int32_t pointer_id = event.pointer_id();
+ const int32_t pointer_id = event.pointer_details().id;
if (!IsTrackingPointer(pointer_id) ||
!pointer_targets_[pointer_id].is_pointer_down) {
const bool any_pointers_down = AreAnyPointersDown();

Powered by Google App Engine
This is Rietveld 408576698