DescriptionClip tabs in overflow mode.
The tabstrip now tries to ensure that if tabs would encroach on the New Tab
button area or be clipped by the edge of the strip, they're made invisible
instead. This prevents glitchy-looking overflow, modulo some existing bugs (on
file) where the strip doesn't recalculate widths correctly.
This also hides the tab next to the New Tab button if it can be shown when not
selected, but might be hidden when it (or a prior tab) is selected. This
prevents having this tab toggle in and out as the active tab changes.
BUG=62510
TEST=Spawn lots of tabs and shrink the window to a narrow width. Once the tabs hit their min size they should start hiding at the right edge instead of drawing atop the New Tab button.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278028
Patch Set 1 #
Total comments: 7
Patch Set 2 : Review comments #Patch Set 3 : Compile #Patch Set 4 : Unit tests #
Messages
Total messages: 10 (0 generated)
|