Files
brave-core/android/java/res
Artem Samoilenko 8af75b3a89 [cr149][Android] Changes for NTP LegacyLogoView
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c66e45550985e3570e1cf181df0ec749ab3d80f6

commit c66e45550985e3570e1cf181df0ec749ab3d80f6
Author: Yanting Yu <yyanting@google.com>
Date:   Tue Apr 21 12:43:23 2026 -0700

    [LogoRefactor] Branch to LegacyLogoView and introduce feature flag.

    This CL branches the current LogoView implementation into LegacyLogoView
    to ensure the existing functionality remains intact while we restructure
    the new LogoView in the follow up CL.

    Changes include:
    - Branched LogoView, LogoViewBinder, layout XMLs, and corresponding unit tests into LegacyLogoView equivalents.
    - Added the ChromeFeatureList.LOGO_VIEW_REFACTOR feature flag in LogoCoordinator to dynamically switch between inflating the LogoView and the LegacyLogoView.
    - Extracted the ClickHandler interface from LogoView into LogoProperties to serve as a shared, domain-specific contract. This cleanly decouples the two views, allowing them to be fully independent while still being driven by the same PropertyModel and LogoMediator.
    - Updated new_tab_page_layout.xml to replace the `logo_holder` FrameLayout with ViewStub.

    Bug: 492453183
    Change-Id: Id0ef80f8acab9c2d15928020eb3688bd9f2afc33
    Bypass-Check-License: branched files
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7760153
    Commit-Queue: Yanting Yu <yyanting@google.com>
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Reviewed-by: Andrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1618376}
2026-05-22 16:25:13 -04:00
..