commit | 7de6f63ba35e8b9d9523a6baea6945f65d308502 | [log] [tgz] |
---|---|---|
author | Aishwarya Rajesh <aishwaryarj@google.com> | Fri Feb 24 01:30:02 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 24 01:30:02 2023 |
tree | 01f18164630ff45c3a96679450d8801954c12e14 | |
parent | 3c9c2f541b59a65a30de22fc6f66481f1d0bc93d [diff] |
[DragDrop] Remove custom logic to process VIEW intents for link drag and drop Currently, there is some logic in LaunchIntentDispatcher to preserve FLAG_ACTIVITY_MULTIPLE_TASK in a VIEW intent before dispatching it to ChromeTabbedActivity. This was added to support link drag & drop to create a new Chrome instance when the OS/OEM attempts to launch a VIEW intent created from the original drag & drop ClipData intent. This will also cause VIEW intents from other apps with this flag set to create a new Chrome window, which is not desirable. The OS/OEM is expected to launch the non-VIEW intent component specified by Chrome in the drag & drop use case so this code path will ideally not be hit. This CL removes updates added in LaunchIntentDispatcher in https://chromium-review.googlesource.com/c/chromium/src/+/3591754 and https://chromium-review.googlesource.com/c/chromium/src/+/3698671 to revert this logic, including the histogram that is recorded based on an intent extra that differentiates a VIEW intent originating from a link drag & drop, since this code path is obsolete. Bug: 1410850 Change-Id: Ib5ef2b5d3379651860332ddc5f3a31dc9e1d28e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4284321 Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Weilun Shi <sweilun@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Aishwarya Rajesh <aishwaryarj@google.com> Cr-Commit-Position: refs/heads/main@{#1109380}
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.