[Autofill Assistant] Resize overlay to match visible page view.
Before this change the touch event filter would always cover the whole screen and rely on drawing and event filtering to make the bottom and top controls accessible. This doesn't work with Talkback, which sees an overlay and thinks that controls are not accessible. With this change, the touch event filter is resized dynamically to only covers the webpage, except when the controls are being animated. With this solution, the touch event filter still needs to be aware of the exact height of the bars while they're being animated, but otherwise the visual viewport height matches the filter height. Bug: 806868 Change-Id: Ic67232ebdbc8eb98069568e6408b185597e69147 Reviewed-on: https://chromium-review.googlesource.com/c/1352165Reviewed-by:Ganggui Tang <gogerald@chromium.org> Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Cr-Commit-Position: refs/heads/master@{#611719}
Showing
Please register or sign in to comment