| commit | 5fc58df6951a9890a210853b14a947b57941f13f | [log] [tgz] |
|---|---|---|
| author | Sirisha Kavuluru <skavuluru@google.com> | Sun Sep 21 18:53:05 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Sep 21 18:53:05 2025 |
| tree | c078fcaf12f2d6682942680a545a2e0c51485d86 | |
| parent | 9e270a115a96809c82f08b83a5d97a6f382f5623 [diff] |
Handle secondary clicks on tiles as long clicks. This change makes `TileInteractionDelegate` implement `View.OnGenericMotionListener` and adds an `onGenericMotion` handler. This handler checks for secondary click events (like right-clicks) on Android R+ and, if present, triggers a long click on the tile, opening the context menu. Change-Id: I516df8e9b614a1fafa98ded322cd22046d0a4b71 Fixed: 446250455 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6969979 Reviewed-by: Xi Han <hanxi@chromium.org> Auto-Submit: Sirisha Kavuluru <skavuluru@google.com> Commit-Queue: Sirisha Kavuluru <skavuluru@google.com> Cr-Commit-Position: refs/heads/main@{#1518463}
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.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.