commit | db03912d71a957bb38762ad6edf8b0c8b63589ca | [log] [tgz] |
---|---|---|
author | David Black <dmblack@google.com> | Thu Aug 16 22:36:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 16 22:36:51 2018 |
tree | c3af8b3b01989be58df060574295a66fa29e4b8a | |
parent | 1b331d20e1f35829e568af957ca9bd4884f0734c [diff] |
Handle vertical scrolling with embedded WebViews. Previously, Assistant cards (WebViews) would consume any event that they processed. This prevented our container from scrolling effectively, because scroll gestures would be consumed. Now, we prevent the WebView from receiving anything other than mouse click related events. We need to give it those events because Assistant cards contain links. To also support link taps via gesture, we need to route taps back to the WebView's manually. We do this by converting tap gestures into mouse events. Bug: b:110039692 Change-Id: Id0d44af0651490ddf58b6e0e0c70c41fec3fa654 Reviewed-on: https://chromium-review.googlesource.com/1174961 Commit-Queue: David Black <dmblack@google.com> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#583863}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .