ios/chrome/browser/intelligence/bwg/ui/README.md
Last updated: May 2026
This directory contains the user interface (UI) components for the Gemini (BWG) onboarding and First Run Experience (FRE) flows on Chrome for iOS.
Following iOS UI development guidelines and branded asset requirements, the controllers are designed for elegant sheet presentation, micro-animations, responsive dynamic layouts, and full localization (including South Korea compliance overrides).
graph TD
Wrapper[GeminiFREWrapperViewController]
Wrapper -->|Presents Initial Info| Promo[GeminiPromoViewController]
Wrapper -->|Transitions to Consent/Live| Consent[GeminiConsentViewController]
UIViewController utilizing sheets presentation. It orchestrates transitions between the Promotional intro page (GeminiPromoViewController) and the main Consent/Permissions page (GeminiConsentViewController).UITextViewDelegate to safely open privacy links in new tabs without launching context menus.resources/:
Contains brand-compliant assets, custom logos, and color definitions used across Gemini screens.gemini_promo_view_controller_unittest.mmgemini_consent_view_controller_unittest.mmgemini_fre_wrapper_view_controller_unittest.mmgemini_ui_utils_unittest.mm