| commit | 2b5def58febc4bca1501578f5d9e964b08318d90 | [log] [tgz] |
|---|---|---|
| author | Juan Mojica <juanmojica@google.com> | Wed Dec 10 00:16:50 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 10 00:16:50 2025 |
| tree | 1780a14cbd6e899548dbd6d41ac5b1a4901233c7 | |
| parent | 34378b30b86f0685fc74f51bcaa595d6e38fb7d1 [diff] |
[Contextual Tasks] Pass session handle to Contextual Tasks UI Currently, the LensQueryFlowRouter creates a session handle to upload page context and images. However, when the Contextual Tasks side panel is opened to show results, this handle is not transferred, potentially leading to lost context or the creation of duplicate sessions. This change updates `StartTaskUiInSidePanel` to accept a `ContextualSearchSessionHandle`. The `LensQueryFlowRouter` now moves its pending session handle to the UI service when opening the panel. The service then assigns this handle to the `ContextualSearchWebContentsHelper` associated with the side panel's WebContents. Bug: 461909986, 461911377 Change-Id: I921127acdb3c51b4e2ba3df7a5d1de785e568bd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7239426 Commit-Queue: Juan Mojica <juanmojica@google.com> Reviewed-by: Duncan Mercer <mercerd@google.com> Cr-Commit-Position: refs/heads/main@{#1556443}
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.