DescriptionRefactor layout constants in preparation for adding support for Material Hybrid.
* Uses layout constants for the tab height in all cases, not just material.
* Removes TAB_MAXIMUM_TITLE_WIDTH layout constant. We really just want the total maximum tab width to be the same across all modes, so compute it that way directly in tab.cc.
* Adds a new GetLayoutSize() function, which currently is only used for the new tab button size.
* A few other tiny cleanups.
BUG=none
TEST=none
Committed: https://crrev.com/e3764e34b49d43a4bbeaa6a5c1d4682e0f1c6c20
Cr-Commit-Position: refs/heads/master@{#366968}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|