DescriptionCompute the correct height above the tabstrip when dragging tabs.
The code wanted the difference between the height in a restored windows vs. a
maximized window, but instead used the height difference between the top of the
tabstrip and the top of the new tab button.
The effect of this is that when dragging a tab out of a maximized tabstrip, the
new window is created about 5 px higher (at 100% scale) than before.
This allows moving a public constant in TabStrip to become file-scope to the .cc
file.
BUG=none
TEST=none
Committed: https://crrev.com/06c3bd3beabbd81d6036aa207e633f9bec66233a
Cr-Commit-Position: refs/heads/master@{#366964}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 8 (3 generated)
|