• Peter Boström's avatar
    Use highlight path for InkDropMask and FocusRing · e02b4364
    Peter Boström authored
    Introduces a kHighlightPathKey property to views and uses it as a
    default for FocusRing and CreateInkDropMask in InkDropHostView. If no
    highlight path is added this fall backs to prior behavior, which allows
    introducing this change in parts.
    
    This highlight path is added to the bookmarks-bar buttons and the dialog
    close button. CreateInkDropMask and installing the focus ring is removed
    from the prior.
    
    Bug: chromium:861975, chromium:888204
    Change-Id: I7eb682efe82caea7e8088d7277733698967d0234
    Reviewed-on: https://chromium-review.googlesource.com/1239715Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#593783}
    e02b4364
bookmark_bar_view.cc 76.9 KB