Revert "Add HighlightPathGenerator to TabCloseButton"
This reverts commit b25e7445. Reason for revert: The ink drop path here was not the same as the highlight path; in particular, the ink drop path is manually mirrored, while the highlight path is auto-mirrored. Reverting since this results in the wrong appearance in RTL. Original change's description: > Add HighlightPathGenerator to TabCloseButton > > Replaces OnBoundsChanged override which resulted in a lot of path > generation (per-tab + frame) while opening new tabs or resizing the > window. > > Also removes a ::GetInkDropMask() override which just generated the same > path. > > Bug: chromium:1007546 > Change-Id: I0131f9a589c1525e2c0eacd61c9fcd9f6ac05948 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1861016 > Auto-Submit: Peter Boström <pbos@chromium.org> > Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> > Cr-Commit-Position: refs/heads/master@{#705972} TBR=ellyjones@chromium.org,pbos@chromium.org Change-Id: Ic7bd1312d452c828877669db89af45ac59160455 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:1007546 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864393Reviewed-by:Peter Kasting <pkasting@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#706348}
Showing
Please register or sign in to comment