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

Unified Diff: services/ui/ws/drag_controller.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/drag_controller.cc
diff --git a/services/ui/ws/drag_controller.cc b/services/ui/ws/drag_controller.cc
index 2e05d26e10b427f970ce7e78b9bf64db78dafd31..714b37a25d2b8fd60663400801ee3e6bf9f89afc 100644
--- a/services/ui/ws/drag_controller.cc
+++ b/services/ui/ws/drag_controller.cc
@@ -86,7 +86,7 @@ bool DragController::DispatchPointerEvent(const ui::PointerEvent& event,
return false;
}
- if (event.pointer_id() != drag_pointer_id_)
+ if (event.pointer_details().id != drag_pointer_id_)
return false;
// If |current_target| doesn't accept drags, walk its hierarchy up until we

Powered by Google App Engine
This is Rietveld 408576698