0
Files
src/content/web_test/browser
Sam Davis Omekara 79a90bd7ef Use in_forced_colors web setting in Blink
This CL uses the `in_forced_colors` web setting introduced in
CL:5324688 within Blink. The web setting was introduced to remove the
reliance on the global NativeTheme web instance for the state of forced
colors in Blink.

More specifically, this change:
1.) replaces all calls to the WebThemeEngine::GetForcedColors with the
web setting
2.) copies the setting in components that require it such as svg_image
and web_page_popup
3.) updates the kForcedHighContrast switch to override the web setting
for the content shell and web tests

Bug: 1231644, 41489514
Change-Id: I04ee8c3d9e55f271728f27ed915da6f2255f87bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5368321
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1277687}
2024-03-25 16:08:19 +00:00
..