Correctly initialize web theme state on Mac.
With FormControlsRefresh, the used native theme web instance is NativeThemeAura instead of NativeThemeMac. Prior to this CL, there was no support to initialize the dark mode, preferred color scheme and high contrast states for NativeThemeAura. Note that these states are going to be sent to the renderer processes by using the communication mechanism introduced by [1]. [1]: crrev.com/c/1728056 Bug: 1054725 Change-Id: I45f0d382b70bd1e616cfb8e4a59bc3db392d744a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2068870Reviewed-by:Mason Freed <masonfreed@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Cr-Commit-Position: refs/heads/master@{#743970}
Showing
Please register or sign in to comment