Add HighlightPathGenerator to FocusRing
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:Charlene Yan <cyan@chromium.org> Cr-Commit-Position: refs/heads/master@{#703138}
Showing
Please register or sign in to comment