commit | 4f673fab059dc71377703ff461259354904f613d | [log] [tgz] |
---|---|---|
author | Ana Salazar <anasalazar@chromium.org> | Thu Apr 06 23:48:28 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 06 23:48:28 2023 |
tree | 47f2e1cdbffb19fe984cb1bb5d1b90c51af249c6 | |
parent | a88df2e794de69c6a054ac5a23fa8289cca40c86 [diff] |
Set event handled for after staring touch drag When starting a touch drag action with the new drag and drop flow, AppListItemView has to explicitly invoke RunShellDrag on the first ET_GESTURE_SCROLL_UPDATE to keep the same behavior as before. Since the drag and drop is handled on a different thread, there may be edge cases where the dragged view could be removed before the drag completes. If the gesture event results in RunShellDrag being invoked, we need to make sure that the event is marked handled in order for the event handler to avoid trying to propagate the event further on a possibly non-existing object. Bug: b:277231250 Change-Id: Ie768da3a2c3c93af3eddc2cea667c1e1b4cccb48 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4406687 Reviewed-by: Toni Barzic <tbarzic@chromium.org> Commit-Queue: Ana Salazar <anasalazar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1127457}
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.