DescriptionClean up frame code a bit:
* Make more functions const
* Tweak version check to "< Win 10" to match code constant names and the pattern of how we check this elsewhere in the UI code
* Rename some things from "avatar" to "incognito icon"
* Remove unnecessary member
* Replace local constants with layout constants (only in cases where the layout constants have the same values in non-MD)
* Simplify. In a few cases this may look like a behavior change but isn't; e.g. "NonClientTopBorderHeight(false) + kTabstripTopShadowThickness" was replaced by "FrameBorderThickness(false)" at a place where the two are guaranteed to be the same value
* Prepare for further tabstrip/incognito icon positioning fixes to OpaqueBrowserFrameViewLayout::LayoutIncognitoIcon()
BUG=none
TEST=none
Committed: https://crrev.com/11bb4163516d0d4580875a3eab247eb872b7256f
Cr-Commit-Position: refs/heads/master@{#371432}
Patch Set 1 #Patch Set 2 : Resync #Patch Set 3 : Resync, fix compile #
Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|