зеркало из https://github.com/mozilla/gecko-dev.git
e61d2689a7
Automatic update from web-platform-testsDirect dispatch mouse pointer event by MEM and PEM We used to direct dispatch mouse pointer events by a different code path in node.cc. Unlike normal events, these events are created separately and didn't went through EventHandler. This causes extra complexity. This CL changes the direct dispatch code path to dispatch events through PointerEventManager and MouseEventManager, so we can have only one place to create events and further merge the event code path in the future. This patch should cause no change for direct dispatched events other then the click count. The new direct dispatch code path will also update click_count stored in MEM by the WebMouseEvent.click_count. This CL also fixes two issue caused by different code path, 1. direct dispatched pointermove events, (eg. when pointerlocked), didn't havbe getCoalescedEvents. 2. pointer move on chorded mouse button when pointer is locked. Bug: 859132, 665924 Change-Id: Iead9c8135ef58c2bf8e45bd7787cf14334c2e139 Reviewed-on: https://chromium-review.googlesource.com/1134219 Commit-Queue: Ella Ge <eirage@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#591834} -- wpt-commits: d4c197a71c0777e839b65c17a59da12b6ddd8d0d wpt-pr: 12607 |
||
---|---|---|
.. | ||
idlharness.window.js | ||
pointerevent_coalesced_events_attributes-manual.html | ||
pointerevent_constructor.html | ||
pointerevent_getCoalescedEvents_when_pointerlocked-manual.html | ||
pointerevent_pointerrawmove-manual.html | ||
pointerevent_pointerrawmove_in_pointerlock-manual.html | ||
pointerevent_touch-action-pan-down-css_touch-manual.html | ||
pointerevent_touch-action-pan-left-css_touch-manual.html | ||
pointerevent_touch-action-pan-right-css_touch-manual.html | ||
pointerevent_touch-action-pan-up-css_touch-manual.html | ||
pointerevent_touch-action-verification.html |