commit | 894c76714e57763fc302147ab3bbad1d77d471a3 | [log] [tgz] |
---|---|---|
author | Foromo Daniel Soromou <koretadaniel@chromium.org> | Tue Apr 15 14:29:38 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 15 14:29:38 2025 |
tree | 4eb29c6f7bf356096c5d5837f8f6eeb30857115d | |
parent | 159662d2a9326423ea59991a0a0b88f071daeef9 [diff] |
[PageAction] Migrate Price Insights to the New Page Action Framework This CL migrates the Price Insights page action to the new page action framework. The main entry point is in `chrome/browser/ui/commerce/commerce_ui_tab_helper.cc`. When a page action should be shown, the `UpdatePageActionIconView(..)` method is invoked. Previously, this would trigger the legacy page action logic. With this change, the method now requests visibility updates through the new page action framework. Existing tests have been updated to validate both the legacy and new paths, ensuring consistent behavior without changes to expectations. Bug: 376284009 Change-Id: Ifba34403fa0d577b5cf42f0a7ced4e93d116429b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6432646 Reviewed-by: Kaan Alsan <alsan@chromium.org> Reviewed-by: Dana Fried <dfried@chromium.org> Commit-Queue: Daniel Soromou <koretadaniel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1447094}
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.