Files
brave-core/android/java/res/values
samartnik 9628962880 [Android] Fix for hairline height (#31434)
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e981dd46821f563acaa6a5a3d8fd51e046e311e2

commit e981dd46821f563acaa6a5a3d8fd51e046e311e2
Author: Patrick Noland <pnoland@google.com>
Date:   Wed Aug 13 13:37:18 2025 -0700

    [Toolbar] Rework hairline positioning

    Manually calculating the margin for the hairline is error-prone and
    tedious when multiple components can alter the height of the toolbar.
    Instead of manual manipulation, we can position it "for free" by using
    coordinator layout's anchor gravity concept.

    This does require switching the toolbar container to be a
    CoordinatorLayout. Mostly this is easy since CoordinatorLayout is a more
    powerful FrameLayout. There is one consideration: OptimizedFrameLayout,
    formerly in the inheritance chain for the toolbar container, reduced the
    number of measure calls on ToolbarLayout for performance reasons.

    This ends up not mattering because CoordinatorLayout performs the same
    number of measure calls.

    NO_IFTTT=Adding block for the first time

    Change-Id: Idfbb41afbbb1d361214cd0e8e585fefa545aee89
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6828889
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1501003}
2025-09-25 22:26:26 -04:00
..