OLD | NEW |
(Empty) | |
| 1 # Sensors |
| 2 |
| 3 `device/generic_sensor` contains the platform-specific parts of the Sensor APIs |
| 4 implementation. |
| 5 |
| 6 Sensors Mojo interfaces are defined in the `public/interfaces` subdirectory. |
| 7 |
| 8 The JS bindings are implemented in `third_party/WebKit/Source/modules/sensor`. |
| 9 |
| 10 |
| 11 ## Testing |
| 12 |
| 13 Sensors platform unit tests are located in the current directory and its |
| 14 subdirectories. |
| 15 |
| 16 The sensors unit tests file for Android is |
| 17 `android/junit/src/org/chromium/device/sensors/PlatformSensorAndProviderTest.jav
a`. |
| 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) |
| 25 for more details. |
OLD | NEW |