
This CL improves the behavior of the Shop with Lens ephemeral card in the Magic Stack on iOS. Key changes: - Fixes the Lens entrypoint for accurate metrics: Changes the entrypoint from HomeScreenWidget to NewTabPage to ensure accurate metrics reporting. - Improves ContentSuggestionsModuleType determination: More reliably determines the module type (kTips or kTipsWithProductImage) by consistently checking the TipsLensShopExperimentType and validating product image data for non-empty values. This also improves efficiency. - Enhances code readability: Improves the readability of the -type method in TipsModuleState. Low-Coverage-Reason: TRIVIAL_CHANGE Change-Id: I9ae02a092a570134f6a0b2934f1e552a962da41f Fixed: 375462605 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5968113 Commit-Queue: Benjamin Williams <bwwilliams@google.com> Reviewed-by: Chris Lu <thegreenfrog@chromium.org> Auto-Submit: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1374679}
This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.