• Peter Boström's avatar
    Add HighlightPathGenerator to FocusRing · d8842c60
    Peter Boström authored
    Replaces OnBoundsChanged + FocusRing::SetPath() with either installing a
    HighlightPathGenerator for the view or installing an overriding one on
    the FocusRing. It also removes an InkDropView::GetInkDropMask override.
    
    This change also adds a PillHighlightPathGenerator which was used both
    for the location bar and a button inside the Omnibox.
    
    Bug: chromium:1007546
    Change-Id: I163291c5ee4f8f361d3181b30d0e81f310bb4eab
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842115
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Reviewed-by: default avatarCharlene Yan <cyan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#703138}
    d8842c60
highlight_path_generator.cc 1.86 KB