Change tab offset constant to tab overlap constant and add getter in TabStrip.
commitc37fbe80aabf19550f9282d177c9661a31dfb7ab
authorpkasting <pkasting@chromium.org>
Thu, 10 Sep 2015 18:13:53 +0000 (10 11:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 10 Sep 2015 18:16:10 +0000 (10 18:16 +0000)
treeb971f73af4b3f2c0e769b14b80b8e23f308da2f4
parent6b8fe5892025782d850860d6d32b457b02ce2c7f
Change tab offset constant to tab overlap constant and add getter in TabStrip.

Referring to the overlap between two tabs makes more sense intuitively than
talking about the offset of the second tab's left edge from the first tab's end.
It's also a little clearer in code since you're never subtracting a negative
number.

The getter in TabStrip isn't currently interesting (just returns a constant),
but will make more sense once this value is parametrized for the Material
Design work.

BUG=none
TEST=none

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

Cr-Commit-Position: refs/heads/master@{#348189}
chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h
chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc
chrome/browser/ui/views/tabs/tab_strip.cc
chrome/browser/ui/views/tabs/tab_strip.h