Shift TouchEventAcking to TEAQ
This CL makes TouchEventAckQueue responsible for calling ProcessAckedTouchEvents() on the root view. Several main changes: 1) The TEAQ now stores the full TouchEvent, not just the event's touch ID. This is required by ProcessAckedTouchEvents(). 2) With the assumed invariant that now all touch events are acked, and in-order, we don't need to explicitly mark emulated touch events as such, since we can use the TouchEmulator to keep track for us. 3) The TEAQ now holds a pointer to its owning RWHIER, since it needs access to both (i) the TouchEmulator, and (ii) the function IsViewInMap(). The latter means having to make IsViewInMap() a public function on RWHIER. Bug: 848050 Change-Id: I822424ff1d04b8ba0c67a88956b1517c38a877ec Reviewed-on: https://chromium-review.googlesource.com/c/1355243 Commit-Queue: James MacLean <wjmaclean@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Cr-Commit-Position: refs/heads/master@{#616071}
Showing
Please register or sign in to comment