components/webapps/README.md
components/webapps)This directory contains features and logic for Web Applications (Progressive Web Apps) that are shared between different platforms (primarily Android and Desktop).
For platform-specific implementations and orchestrations, see:
chrome/browser/web_applications)browser/installable/)The InstallableManager is responsible for checking if a website is installable as a Progressive Web App. It verifies:
See header files for details:
InstallableManager - Main entry point to schedule installability checks.InstallableData - Structure containing the results of the check.browser/banners/)The AppBannerManager decides when and how to promote PWA installation to the user (e.g., showing an install icon in the omnibox, an ambient badge, or a bottom sheet). It uses InstallableManager to check eligibility and tracks user engagement to avoid spamming.
See header files for details:
AppBannerManager - Base class for managing banner visibility and triggering.AppBannerSettingsHelper - Tracks history of banner events (shown, ignored, dismissed) to enforce rate limiting.Web apps use specific identifiers to track installations and partition data.
Following the model of Desktop Web Apps README:
docs/) should focus on high-level architecture, cross-class interactions, and concepts.