commit | bcf61e48f5992beb89219af3005fc6eea0cc1250 | [log] [tgz] |
---|---|---|
author | Siye Liu <siliu@microsoft.com> | Wed Sep 09 01:03:27 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 09 01:03:27 2020 |
tree | 1fba004881e134c0ebe4ff7c9ec7fd4923af11bf | |
parent | c17a107e02156488f6400964dfab48d39529ff8d [diff] |
Should ask hittest frame to invoke context menu on long tap. During long tap, |WebViewImpl::HandleGestureEvent| asks the main frame's GestureManager is the long tap should invoke context menu. However, the previeus long press event was routed to iframe's GestureManager. Therefore, main frame's GestureManager returns false in |GestureManager::LongTapShouldInvokeContextMenu|. Therefore, context menu is not invoked if the link is in an iframe. We should ask the hit frame to decide whether we should invoke context menu during long tap. Bug: 1112987 Change-Id: I90f5e1f09380258b6bdf83c9cc78b9764d2adeca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2382054 Reviewed-by: Siye Liu <siliu@microsoft.com> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Siye Liu <siliu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#805167}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.