commit | 63e92830db63d5b7d03c245dda083cb4e7f33ea8 | [log] [tgz] |
---|---|---|
author | Robert Liao <robliao@chromium.org> | Wed Jan 23 20:20:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 20:20:50 2019 |
tree | c9cd55879a47e561ba82c7684bd314bdc2e19310 | |
parent | 08832e65279677ca77b8e187bd7faf938dd22954 [diff] |
Wire Up Windows Dark Mode to NativeThemeWin The Dark/Light mode toggle in System Settings appears to be intended for UWP apps, so this change needs to be slightly more creative about checking this state. This change checks and monitors AppsUseLightTheme in HKCU's theme area, which is not an API guarantee. Future versions of Windows could change the way this is persisted and subsequently break this change. BUG=838670 Change-Id: Ic84341ae69e2bb9cd988f9bea027052033c66360 Reviewed-on: https://chromium-review.googlesource.com/c/1429963 Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#625331}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .