Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Generic Sensor | |
| 2 | |
| 3 `third_party/WebKit/Source/modules/sensor` implements the following | |
| 4 concrete sensor intrefaces based on the [Generic Sensor API] (https://w3c.github .io/sensors): | |
| 5 | |
| 6 1. [Ambient Light Sensor] (https://w3c.github.io/ambient-light) | |
| 7 1. [Accelerometer] (https://w3c.github.io/accelerometer) | |
| 8 1. [Gyroscope] (https://w3c.github.io/gyroscope) | |
| 9 1. [Magnetometer] (https://w3c.github.io/magnetometer) | |
| 10 1. [Absolute Orientation Sensor] (https://w3c.github.io/orientation-sensor) | |
| 11 | |
| 12 The platform-specific parts of the implementation are located in `device/generic _sensor`. | |
| 13 | |
| 14 | |
| 15 ## Testing | |
| 16 | |
| 17 Sensors layout tests are located in `LayoutTests/sensor`. | |
|
Reilly Grant (use Gerrit)
2017/04/13 14:40:41
Link to LayoutTests/external/wpt/generic-sensor as
| |
| 18 | |
| 19 Sensors browser tests are located in `content/test/data/generic_sensor`. | |
| 20 | |
| 21 | |
| 22 ## Design Documents | |
| 23 | |
| 24 Please refer to the [design documentation](https://docs.google.com/document/d/1M l65ZdW5AgIsZTszk4mD_ohr40pcrdVFOIf0ZtWxDv0) for more details. | |
| OLD | NEW |