OLD | NEW |
1 # Sensors | 1 # Sensors |
2 | 2 |
3 `device/generic_sensor` contains the platform-specific parts of the Sensor APIs | 3 `services/device/generic_sensor` contains the platform-specific parts of the Sen
sor APIs |
4 implementation. | 4 implementation. |
5 | 5 |
6 Sensors Mojo interfaces are defined in the `public/interfaces` subdirectory. | 6 Sensors Mojo interfaces are defined in the `services/public/interfaces` subdirec
tory. |
7 | 7 |
8 The JS bindings are implemented in `third_party/WebKit/Source/modules/sensor`. | 8 The JS bindings are implemented in `third_party/WebKit/Source/modules/sensor`. |
9 | 9 |
10 | 10 |
11 ## Platform Support | 11 ## Platform Support |
12 | 12 |
13 Support for the SensorTypes defined by the Mojo interface is summarized in this | 13 Support for the SensorTypes defined by the Mojo interface is summarized in this |
14 table. An empty cell indicates that the sensor type is not supported on that | 14 table. An empty cell indicates that the sensor type is not supported on that |
15 platform. | 15 platform. |
16 | 16 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 The sensors unit tests file for Android is | 59 The sensors unit tests file for Android is |
60 `android/junit/src/org/chromium/device/sensors/PlatformSensorAndProviderTest.jav
a`. | 60 `android/junit/src/org/chromium/device/sensors/PlatformSensorAndProviderTest.jav
a`. |
61 | 61 |
62 Sensors browser tests are located in `content/test/data/generic_sensor`. | 62 Sensors browser tests are located in `content/test/data/generic_sensor`. |
63 | 63 |
64 | 64 |
65 ## Design Documents | 65 ## Design Documents |
66 | 66 |
67 Please refer to the [design documentation](https://docs.google.com/document/d/1M
l65ZdW5AgIsZTszk4mD_ohr40pcrdVFOIf0ZtWxDv0) | 67 Please refer to the [design documentation](https://docs.google.com/document/d/1M
l65ZdW5AgIsZTszk4mD_ohr40pcrdVFOIf0ZtWxDv0) |
68 for more details. | 68 for more details. |
OLD | NEW |