0
Files
src/ios
Benjamin Williams 0844129049 [iOS] Improve Lens Shop (with product image) behavior
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}
2024-10-28 16:52:14 +00:00
..
2024-09-23 15:58:57 +00:00
2024-10-24 15:52:06 +00:00

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.