[chromecast] Allow touch action in side swipe margins.
Changes cast system gesture handling so that events which happen on the side swipe margin are replayed when the finger is lifted before leaving the margin area, allowing UI elements to be accessed in the margin. Note: A refactoring of the side swipe detection into an EventRewriter was necessary to allow for the redispatching of the stashed events. The side swipe detection was factored out into a separate class, leaving the tap/press handling in the EventHandler. Bug: internal b/111304882 Test: manual and unit tests Change-Id: If446ed0d97bc9e5f127c311e98f0ed8289071dd3 Reviewed-on: https://chromium-review.googlesource.com/1141060Reviewed-by:Kevin Schoedel <kpschoedel@chromium.org> Reviewed-by:
Alex Sakhartchouk <alexst@chromium.org> Commit-Queue: Ryan Daum <rdaum@chromium.org> Cr-Commit-Position: refs/heads/master@{#576150}
Showing
This diff is collapsed.
Please register or sign in to comment