Plumb system colors into LayoutThemeDefault
The following CL set up a pipeline to send a map of the system colors from the browser process to the render process: https://chromium-review.googlesource.com/c/chromium/src/+/1728056 This change takes those system colors and uses them in LayoutThemeWin::SystemColor(). This replaces the old logic of making API calls to get the system colors. LayoutThemeWin accesses the system colors stored in NativeTheme through WebThemeEngineDefault. Unit tests were added for conversions between Blink and NativeTheme types. This required pulling the static conversion methods into their own header. Bug: 970285 Change-Id: I842e5224aa3a97852eda13c3d86f90396262fde9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1793742 Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#699050}
Showing
Please register or sign in to comment