commit | 1b51d069611cd544d1a4cdf4010422885d6e091b | [log] [tgz] |
---|---|---|
author | François Beaufort <[email protected]> | Tue May 18 11:11:23 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue May 18 11:11:23 2021 |
tree | 5924cf1b040a4c3d7ab29aa33260a636ff5e9a1d | |
parent | 7a2408f207d196ed6412438848b79e7613b7dea2 [diff] |
Implement `Sec-CH-Prefers-Color-Scheme` The `Sec-CH-Prefers-Color-Scheme` client hint is modeled after the `prefers-color-scheme` user preference media feature as defined in Media Queries 5. Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/ejTbFoJF3sQ Demo: https://sec-ch-prefers-color-scheme.glitch.me/ Spec: https://tomayac.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme Bug: 1207897 Change-Id: Ie52bc6b52507b1f5b681ec61ddf565776316306e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2883198 Commit-Queue: François Beaufort <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Aaron Tagliaboschi <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Cr-Commit-Position: refs/heads/master@{#883888}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.