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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 The sensors unit tests file for Android is | 62 The sensors unit tests file for Android is |
63 `android/junit/src/org/chromium/device/sensors/PlatformSensorAndProviderTest.jav
a`. | 63 `android/junit/src/org/chromium/device/sensors/PlatformSensorAndProviderTest.jav
a`. |
64 | 64 |
65 Sensors browser tests are located in `content/test/data/generic_sensor`. | 65 Sensors browser tests are located in `content/test/data/generic_sensor`. |
66 | 66 |
67 | 67 |
68 ## Design Documents | 68 ## Design Documents |
69 | 69 |
70 Please refer to the [design documentation](https://docs.google.com/document/d/1M
l65ZdW5AgIsZTszk4mD_ohr40pcrdVFOIf0ZtWxDv0) | 70 Please refer to the [design documentation](https://docs.google.com/document/d/1M
l65ZdW5AgIsZTszk4mD_ohr40pcrdVFOIf0ZtWxDv0) |
71 for more details. | 71 for more details. |
OLD | NEW |