• Peter Kasting's avatar
    Factor some constants out of layout_constants.*; widen standard tabs in refresh. · 92acaa68
    Peter Kasting authored
    This moves a couple of constants that are really local to individual files out
    of layout_constants.* (which should only be used for cross-file concepts).
    
    Along the way it makes two behavioral changes:
    (1) The standard tab width in refresh and touchable refresh, not including
        endcaps, is increased from 193 to 268, per spec.
    (2) The stacked tab width in touchable refresh is narrowed by about 8 DIP,
        because endcaps are actually narrower there than in touchable non-refresh,
        but the old code didn't take that into account.  I'm not aware of any
        particular spec on this.
    
    I don't think there's a bug that covers making the standard tab width match the
    sspec, interestingly enough.
    
    BUG=none
    TEST=none
    
    Change-Id: Iddc6bbbff7730245b802f5a9faa6e40ee0baea02
    Reviewed-on: https://chromium-review.googlesource.com/1112865Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#570184}
    92acaa68
tab.cc 59 KB