commit | cb02a73a23ac0e1160ec51bdf9151cda5782477e | [log] [tgz] |
---|---|---|
author | Min Qin <[email protected]> | Fri Aug 09 18:32:00 2024 |
committer | Chromium LUCI CQ <[email protected]> | Fri Aug 09 18:32:00 2024 |
tree | 5c921ee97ab72846e6518ef22abc9ea0160af440 | |
parent | 9143166b44a51539656399545c53d9550abb4ab4 [diff] [blame] |
Update recently visited page when navigation happens ShoppingService::OnWebWrapperSwitched() is only called on focus change. But if a navigation happens in the tab, this is not get called. This CL calls OnWebWrapperSwitched() when a navigation happens to keep recent viewed tab list up to date. Bug: 355487445 Change-Id: I7f1939f1657a6d4649105ac11f95c484c156ef13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5739997 Reviewed-by: Adam Rice <[email protected]> Reviewed-by: Matthew Jones <[email protected]> Commit-Queue: Min Qin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1339757}
diff --git a/components/commerce/ios/browser/BUILD.gn b/components/commerce/ios/browser/BUILD.gn index 7ffd4c6..e5b56e1 100644 --- a/components/commerce/ios/browser/BUILD.gn +++ b/components/commerce/ios/browser/BUILD.gn
@@ -23,6 +23,7 @@ "//ios/web/public", "//ios/web/public/js_messaging", "//ios/web/public/webui", + "//net", "//services/data_decoder/public/cpp", ]