Chromium Code Reviews
DescriptionFix touch accessibility events in WebViews and iframes
This only affects Chrome OS devices with touch screens with spoken feedback
enabled. In that mode, touching the screen sends a mouse move event instead
of a touch down event, and it sets a special touch accessibility flag, and
inside Blink that gets translated into a HOVER event on the accessibility
object the event targets.
This change fixes two specific cases:
* Tapping in a WebView was sending a HOVER event on both the embedder frame
and the guest frame. Fix this by ignoring touch accessibility events on a
LayoutPart.
* Tapping in an iframe wasn't translating the coordinates properly, so the
hit test was sometimes returning the wrong object.
It also adds tests and consolidates some test helper functions into a
common file.
BUG=613694
Committed: https://crrev.com/f9e11986fc63ddfd1f20c88b72530fd6b5af9dba
Cr-Commit-Position: refs/heads/master@{#397325}
Patch Set 1 #Patch Set 2 : Add cross-site iframe test too #
Total comments: 4
Patch Set 3 : Fix WebInputEventConversion #Patch Set 4 : Disable cross-site test temporarily #Dependent Patchsets: Messages
Total messages: 34 (15 generated)
|