Tab Strip: Fix caption area hit testing for TabStripRegionView
Currently if Tab Scrolling is enabled the TabStrip is allowed to grow beyond the visible bounds of the TabStripRegionView with the help of a ScrollView. Existing caption hit testing uses the TabStrip view to determine whether a rect or point belongs to the caption area. This results in a bug where areas of the browser window are no longer recognized as part of the caption area. This is due to the non-visible parts of the TabStrip continuing to contribute to the hit testing logic as it overflows. This patch updates the TabStripRegionView to support the necessary hit testing logic and ensure that only the visible portion of the TabStrip is used. Bug: 1129703 Change-Id: I49ccf9ba573afba84921a66249ef38723787cbba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2411704 Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Reviewed-by:Taylor Bergquist <tbergquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#808579}
Showing
Please register or sign in to comment