commit | 7f2c992b857059dc31c09c1f5d91a23c03a3bf15 | [log] [tgz] |
---|---|---|
author | Leonard Grey <lgrey@chromium.org> | Wed Dec 05 16:03:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 05 16:03:22 2018 |
tree | 04b40be5edae1e913dfbb255bedbf83b0cbc9f8f | |
parent | 431f290cf85f504afb385f2403c97ff2469a9c15 [diff] |
Mac: Change dark mode optout logic and respond to system changes This change hooks up the "DarkMode" feature, allowing for three states in Mojave: - --force-dark-mode for dark appearance unconditionally - --enable-feature=DarkMode to track system dark mode status - No flags/default state is light appearance unconditionally Since we build with an SDK < 10.14, we still need the Info.plist key, but it now must be false. Some related changes: - Make Omnibox tint respond to OnNativeThemeChanged - React immediately to changes in high contrast mode setting Bug: 850098 Change-Id: I08a2c79bb8b79c4ca17fff10bc86249e9aa484c5 Reviewed-on: https://chromium-review.googlesource.com/c/1352394 Commit-Queue: Leonard Grey <lgrey@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#613981}
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 .