Change information
Commit message:
[CP][iOS] Gemini image remix in-product help
Adds an In-Product Help (IPH) bubble to highlight the Gemini Image Remix
feature.
- Defines `kIPHiOSGeminiImageRemixFeature` and configures the trigger
rules in `iOSPromoFeatureConfiguration`.
- Updates `BubblePresenter` to display the bubble pointing to the Page
Action Menu anchor.
- Modifies `BWGTabHelper` to trigger the IPH when conditions are met.
- Plumbs the `ImageRemixIPH` entry point through `BWGMediator` and
`BWGBrowserAgent` to correctly track feature usage initiated from the
IPH.
- Updates relevant metrics and histograms.
(cherry picked from commit c36c91fc8ac8f1455d481f6c39a18ac8a15655cb)
Bug: 463432946, 476991299
Change-Id: I0f7e0eba13a34ca3743944c3576da3e4bff1cbf9
Cr-Original-Commit-Position: refs/heads/main@{#1569264}
Cr-Commit-Position: refs/branch-heads/7632@{#470}
Cr-Branched-From: 0bbdf2913883391365383b0a5dfe7bf9fd1a5213-refs/heads/main@{#1568190}
Files:
- M components/feature_engagement/public/event_constants.cc
- M components/feature_engagement/public/event_constants.h
- M components/feature_engagement/public/feature_configurations.cc
- M components/feature_engagement/public/feature_constants.cc
- M components/feature_engagement/public/feature_constants.h
- M components/feature_engagement/public/feature_list.cc
- M components/feature_engagement/public/feature_list.h
- M ios/chrome/browser/browser_view/ui_bundled/tab_lifecycle_mediator.mm
- M ios/chrome/browser/bubble/public/in_product_help_type.h
- M ios/chrome/browser/bubble/ui_bundled/BUILD.gn
- M ios/chrome/browser/bubble/ui_bundled/DEPS
- M ios/chrome/browser/bubble/ui_bundled/bubble_presenter.h
- M ios/chrome/browser/bubble/ui_bundled/bubble_presenter.mm
- M ios/chrome/browser/bubble/ui_bundled/bubble_presenter_coordinator.mm
- M ios/chrome/browser/intelligence/bwg/coordinator/bwg_coordinator.mm
- M ios/chrome/browser/intelligence/bwg/coordinator/bwg_mediator.h
- M ios/chrome/browser/intelligence/bwg/coordinator/bwg_mediator.mm
- M ios/chrome/browser/intelligence/bwg/model/BUILD.gn
- M ios/chrome/browser/intelligence/bwg/model/bwg_browser_agent.h
- M ios/chrome/browser/intelligence/bwg/model/bwg_browser_agent.mm
- M ios/chrome/browser/intelligence/bwg/model/bwg_browser_agent_unittest.mm
- M ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
- M ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.mm
- M ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper_unittest.mm
- M ios/chrome/browser/intelligence/bwg/model/gemini_configuration.h
- M ios/chrome/browser/intelligence/bwg/utils/bwg_constants.h
- M tools/metrics/actions/actions.xml
- M tools/metrics/histograms/metadata/feature_engagement/histograms.xml
- M tools/metrics/histograms/metadata/ios/enums.xml
Change size: L
Delta: 29 files changed, 299 insertions(+), 29 deletions(-)
Branch: refs/branch-heads/7632
Submit Requirements:
Code-Review: +1 by Adam Arcaro