tree: 73191725fb2088e973d00f021c17014b43cc0df7 [path history] [tgz]
  1. AbsoluteOrientationSensor.cpp
  2. AbsoluteOrientationSensor.h
  3. AbsoluteOrientationSensor.idl
  4. Accelerometer.cpp
  5. Accelerometer.h
  6. Accelerometer.idl
  7. AmbientLightSensor.cpp
  8. AmbientLightSensor.h
  9. AmbientLightSensor.idl
  10. BUILD.gn
  11. DEPS
  12. Gyroscope.cpp
  13. Gyroscope.h
  14. Gyroscope.idl
  15. LinearAccelerationSensor.cpp
  16. LinearAccelerationSensor.h
  17. LinearAccelerationSensor.idl
  18. Magnetometer.cpp
  19. Magnetometer.h
  20. Magnetometer.idl
  21. OrientationSensor.cpp
  22. OrientationSensor.h
  23. OrientationSensor.idl
  24. OWNERS
  25. README.md
  26. RelativeOrientationSensor.cpp
  27. RelativeOrientationSensor.h
  28. RelativeOrientationSensor.idl
  29. Sensor.cpp
  30. Sensor.h
  31. Sensor.idl
  32. SensorErrorEvent.cpp
  33. SensorErrorEvent.h
  34. SensorErrorEvent.idl
  35. SensorErrorEventInit.idl
  36. SensorOptions.idl
  37. SensorProviderProxy.cpp
  38. SensorProviderProxy.h
  39. SensorProxy.cpp
  40. SensorProxy.h
  41. SensorReadingRemapper.cpp
  42. SensorReadingRemapper.h
  43. SpatialSensorOptions.idl
third_party/WebKit/Source/modules/sensor/README.md

Generic Sensor

third_party/WebKit/Source/modules/sensor implements the following concrete sensor intrefaces based on the [Generic Sensor API] (https://w3c.github.io/sensors):

  1. [Ambient Light Sensor] (https://w3c.github.io/ambient-light)
  2. [Accelerometer] (https://w3c.github.io/accelerometer)
  3. [Gyroscope] (https://w3c.github.io/gyroscope)
  4. [Magnetometer] (https://w3c.github.io/magnetometer)
  5. [Absolute Orientation Sensor] (https://w3c.github.io/orientation-sensor)

The platform-specific parts of the implementation are located in device/generic_sensor.

Testing

Sensors layout tests are located in LayoutTests/sensor.

Sensors browser tests are located in content/test/data/generic_sensor.

Design Documents

Please refer to the design documentation for more details.