Files
brave-core/android/java
Artem Samoilenko abe130a03f [cr141][Android] Add install button to omnibox
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/55e44d63ae9fcb516aa390039db404871e3f310f

commit 55e44d63ae9fcb516aa390039db404871e3f310f
Author: Adam Raine <asraine@chromium.org>
Date:   Tue Aug 19 09:27:43 2025 -0700

    [Clank Desktop] Add install button to omnibox

    This CL reuses the installability checks from `AppBannerManager` instead
    of `AddToHomescreenDataFetcher`. The insatiability criteria should be
    the same for each:
    - `WebappsUtils::AreWebManifestUrlsWebApkCompatible` is true
    - `data.installable_check_passed` is true
    - `data.errors` is empty

    Future refactors in this area should consider:
    - Using the delegate pattern instead of inheritance
      crbug.com/322342499
    - Replacing `AddToHomscreenDataFetcher` with a connection to
      `AppBannerManager`, reducing the amount of duplicate logic.

    Bug: 430109659
    Change-Id: Ia4237505fb45aefa1ab8e3789eb8af22289c3700
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6735615
    Commit-Queue: Adam Raine <asraine@chromium.org>
    Reviewed-by: Glenn Hartmann <hartmanng@chromium.org>
    Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
    Reviewed-by: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1503393}
2025-09-22 14:59:45 -04:00
..