Improve tab contents layout, especially at small tab widths.
commit7fa0daae75438372e2d7c34bc6119fff99feb301
authorPeter Kasting <pkasting@chromium.org>
Sat, 12 Sep 2015 04:07:48 +0000 (11 21:07 -0700)
committerPeter Kasting <pkasting@chromium.org>
Sat, 12 Sep 2015 12:51:05 +0000 (12 12:51 +0000)
treed848073cbe95581c973d3b0eb65ec4625306d71c
parent292cf9041e94ea1fba5ce2ddbaea93363facf1c6
Improve tab contents layout, especially at small tab widths.

See bug for a complete description of the changes.

BUG=219067
TEST=Shrin the Chrome window such that tabs become small enough to hide close buttons.  The tab title should take up the width of the tab instead of leaving a big gap where the close button was.
R=sky@chromium.org

Review URL: https://codereview.chromium.org/1333353004 .

Cr-Commit-Position: refs/heads/master@{#348525}
chrome/browser/ui/views/tabs/tab.cc