• Peter Kasting's avatar
    Don't use the "glass" opacities in the tabstrip when the window is opaque. · 8e794a51
    Peter Kasting authored
    This can't be done by mucking with ShouldWindowContentsBeTransparent() as I
    opriginally thought; update comment there to describe better why.
    
    Instead, do this directly in TabStripImpl.
    
    The net effect of this should be that on Win 10, the titlebar background color
    will no longer show through the background tabs in the default theme; for white
    titlebars, this should make active and inactive tabs a little easier to
    distinguish.
    
    BUG=none
    TEST=none
    
    Change-Id: I1b722ba7ce887a1a32470e794e04b436bc06c22b
    Reviewed-on: https://chromium-review.googlesource.com/802522Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521075}
    8e794a51
tab_strip_impl.h 25.1 KB