Remove IsHarmonyMode and CONTEXT_DEPRECATED_SMALL
Replaces CONTEXT_DEPRECATED_SMALL with CONTEXT_BODY_TEXT_SMALL as CONTEXT_DEPRECATED_SMALL isn't supported under Harmony and only a few uses of it remained. The replacement font is usually 1pt larger than the deprecated one. Updates LayoutProviderTest.FontRelativeToBase to use the current layout provider. Also makes use of ChromeLayoutProvider::CreateLayoutProvider in ChromeTestViewsDelegate to keep it in sync with chrome. Also updates test expectations as ChromeTestViewsDelegate gets updated to make use of the ChromeLayoutProvider factory, which provides HarmonyLayoutProvider in most cases instead of the legacy ChromeLayoutProvider. Bug: chromium:867557 Change-Id: I202757cc05854e1e3054b9f97220a5c99f025b30 Reviewed-on: https://chromium-review.googlesource.com/1171661Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#582850}
Showing
Please register or sign in to comment