tree: 9d3ecdd96ff39071e9f121f201af29f27b96b6f3 [path history] [tgz]
  1. android/
  2. public/
  3. BUILD.gn
  4. data_fetcher_shared_memory.h
  5. data_fetcher_shared_memory_android.cc
  6. data_fetcher_shared_memory_base.cc
  7. data_fetcher_shared_memory_base.h
  8. data_fetcher_shared_memory_base_unittest.cc
  9. data_fetcher_shared_memory_chromeos.cc
  10. data_fetcher_shared_memory_default.cc
  11. data_fetcher_shared_memory_fuchsia.cc
  12. data_fetcher_shared_memory_mac.cc
  13. data_fetcher_shared_memory_win.cc
  14. DEPS
  15. device_sensor_export.h
  16. device_sensor_host.cc
  17. device_sensor_host.h
  18. device_sensor_service.cc
  19. device_sensor_service.h
  20. device_sensors_consts.h
  21. OWNERS
  22. README.md
  23. sensor_manager_android.cc
  24. sensor_manager_android.h
  25. sensor_manager_android_unittest.cc
  26. sensor_manager_chromeos.cc
  27. sensor_manager_chromeos.h
  28. sensor_manager_chromeos_unittest.cc
device/sensors/README.md

Sensors

device/sensors contains the platform-specific parts of the DeviceOrientation Events implementation.

  • Sensor Mojo interfaces are defined in the public/interfaces subdirectory.
  • The content renderer layer is located in content/renderer/device_sensors.
  • The web exposed API is implemented in third_party/WebKit/Source/modules/device_orientation.

Testing

  • Browser tests are located in content/browser/device_sensors.
  • Layout tests are located in third_party/WebKit/LayoutTests/device_orientation.
  • Web platform tests are located in third_party/WebKit/LayoutTests/external/wpt/orientation-event and are a mirror of the web-platform-tests GitHub repository.