commit | 9ef7d4fc922967d93fc5d85ee55f3c0535f653ea | [log] [tgz] |
---|---|---|
author | Max Ihlenfeldt <max@igalia.com> | Fri Jul 12 05:54:54 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 12 05:54:54 2024 |
tree | fb5e8dd440cbeb9b4da6ea6cb4745e5a415dd20c | |
parent | 4d63889b330c6e874437893ae7fb1752eee079c4 [diff] |
DropHelper: Use correct root location for DropEvent For some reason, all DropHelper methods pass the location in the target view's coordinate system as both the event's location and its root location. We have the location in the root view's coordinate system available in all these methods, and we should pass that as the root location. This is necessary for e.g. fallback tab dragging, which relies on drag events' root location being correct. Bug: 40238145 Change-Id: I1ac578e28000476f8402b0a09a74800bc4b96d72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5692091 Commit-Queue: Max Ihlenfeldt <max@igalia.com> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1326561}
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.