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

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 f954ac546f9c310f43787ea54b3943df91225390..3e94d63a7a3f110e3ea27cc658eb2ada727f3445 100644
--- a/services/ui/ws/event_dispatcher.cc
+++ b/services/ui/ws/event_dispatcher.cc
@@ -347,7 +347,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