Simplify painting of Tab Group dragging highlight
Remove the ShouldPaint logic in TabGroupView because it's already handled in TabStrip::PaintChildren(): https://cs.chromium.org/chromium/src/chrome/browser/ui/views/tabs/tab_strip.cc?l=2088&rcl=2170efeafe8ee9cafa678d8d1bae67f8182798a8 Also simplify TabStrip::StoppedDraggingView(), which was handling group headers in a hacky way. The group header handling is now more explicit and separate from the deleted-tab logic. Bug: 1034169 Change-Id: I7e87387e6cb89863cb6a0d4b5b706c3ef14d780e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988678 Commit-Queue: Connie Wan <connily@chromium.org> Reviewed-by:Charlene Yan <cyan@chromium.org> Cr-Commit-Position: refs/heads/master@{#728689}
Showing
Please register or sign in to comment