commit | d3824519720dd80d1ac8835fa51071623a8b2d55 | [log] [tgz] |
---|---|---|
author | Wenjie Shi <wensh@microsoft.com> | Thu Jul 11 16:20:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 11 16:20:50 2019 |
tree | cb081972fbb260a3eea9245f40e1be441515fbe3 | |
parent | 930ad55e70f6cde5e47b16a72c7fc20afef8e835 [diff] |
Add feature flag and scaffolding for usage of the Windows.Devices.Sensors WinRT API in Chromium As the first step for implementing usage of the Windows.Devices.Sensors WinRT API in Chromium, this CL: - Introduces a feature flag (disabled by default) to switch between the already existing ISensor API and the new Windows.Devices.Sensors API implementation. - Adds a skeleton PlatformSensorProviderWinrt. Verified by: 1. Built Chromium and installed the private build. 2. Verified ambient light sensor could be instantiated when the flag was in default state. 3. Verified ambient light sensor could not be instantiated when flag was set to Enabled. The new unit test was run as well. Bug: 958266 Change-Id: I3be7fa46c7d00d87d40fc0ea9074c88a42122512 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685853 Commit-Queue: Wenjie Shi <wensh@microsoft.com> Reviewed-by: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#676455}
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 .