OLD | NEW |
| (Empty) |
1 # Sensors | |
2 | |
3 `device/sensors` contains the platform-specific parts of the [DeviceOrientation | |
4 Events](https://www.w3.org/TR/orientation-event/) implementation. | |
5 | |
6 * Sensor [Mojo](../../mojo/README.md) interfaces are defined in the | |
7 `public/interfaces` subdirectory. | |
8 * The content renderer layer is located in `content/renderer/device_sensors`. | |
9 * The web exposed API is implemented in | |
10 `third_party/WebKit/Source/modules/device_orientation`. | |
11 | |
12 ## Testing | |
13 | |
14 * Browser tests are located in `content/browser/device_sensors`. | |
15 * Layout tests are located in | |
16 `third_party/WebKit/LayoutTests/device_orientation`. | |
17 * Web platform tests are located in | |
18 `third_party/WebKit/LayoutTests/external/wpt/orientation-event` and are a | |
19 mirror of the [web-platform-tests GitHub | |
20 repository](https://github.com/w3c/web-platform-tests). | |
OLD | NEW |