Clean 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 Review URL: https://codereview.chromium.org/1624773002 Cr-Commit-Position: refs/heads/master@{#371432}
Showing
Please register or sign in to comment