commit | ec6f6bdf5c0d4055865362af5d36a0047c9be47b | [log] [tgz] |
---|---|---|
author | Dominique Fauteux-Chapleau <domfc@chromium.org> | Tue Apr 30 19:39:57 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 30 19:39:57 2024 |
tree | b2fd42709979f92bc0895d5e17bb5738ee437b5a | |
parent | 361297efac9810395d6597dadd9843db7286369f [diff] |
[Merge to 125] Correctly apply cached clipboard request verdicts Due to crrev.com/c/5448641 moving logic out of `ClipboardHostImpl` and into `PasteAllowedRequest`, this merge adapts the change made in crrev.com/c/5491619 to be done in `ClipboardHostImpl`. This CL handles the `is_complete()` early return in `PasteAllowedRequest::StartPasteAllowedRequest` properly by actually checking the cached data and whether it's allowed instead of just allowing it. This CL also updates `ClipboardPasteData::Merge` to allow copied values to be passed to it instead of just r-values as that is required by `PasteAllowedRequest::InvokeCallback`. (cherry picked from commit 57a8326657148c43719d3342c985a62a1dbf47c9) Bug: 336832453, 337222682 Change-Id: I93accd84165c3670ddddfa4bba04ca88db2eadda Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5496042 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Auto-Submit: Dominique Fauteux-Chapleau <domfc@chromium.org> Cr-Commit-Position: refs/branch-heads/6422@{#525} Cr-Branched-From: 9012208d0ce02e0cf0adb9b62558627c356f3278-refs/heads/main@{#1287751}
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.