
This CL updates LensOverlayEntryPointController to control page actions through the new page actions framework. With this new framework, the Lens Overlay controller is responsible for listening and responding to: * Updates to the "Google Lens Shortcut" preference * Focus changes on the location bar. This matches the current conditions of the legacy Lens Overlay page action implementation. Notes: 1. The new path is gated by a new feature flag,`PageActionsMigration`. 2. A logical circular dependency on `c/b/ui:ui` is introduced to `c/b/ui/lens:lens`, because the lens controller needs to read NTP state, which hasn't been modularized. The lens BUILD is split into header and impl targets to accommodate this. Change-Id: Iada3e1330b97cbb878e6b9306937022439d8d658 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6038852 Reviewed-by: Caroline Rising <corising@chromium.org> Reviewed-by: David Pennington <dpenning@chromium.org> Commit-Queue: Kaan Alsan <alsan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1393957}
Chromium
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.