-
juncai authored
//device/generic_sensors already has all the sensors that can be used to implement the DeviceOrientation event: https://w3c.github.io/deviceorientation/spec-source-orientation.html Currently, //content/renderer/device_sensors uses sensors from //device/sensors as its backend, and this is one of the CLs that refactor //content/renderer/device_sensors to use sensors from //device/generic_sensor as the backend and removes //device/sensors. This CL refactors DeviceMotionEvent to use sensors from //device/generic_sensor. The issue page contains the design doc link for this change. BUG=721427 Review-Url: https://codereview.chromium.org/2896583005 Cr-Commit-Position: refs/heads/master@{#480934}
687e6a76