-
juncai authored
Revert of Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (patchset #14 id:260001 of https://codereview.chromium.org/2896583005/ ) Reason for revert: Need to figure out some issues related to this CL on Windows. To reland, need to add tests on Android and Mac, and fix the issue on Windows. Original issue's description: > Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors > > //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-Original-Commit-Position: refs/heads/master@{#480934} > Committed: https://chromium.googlesource.com/chromium/src/+/687e6a76c9d634404eb93643ab900596a77958fd > Review-Url: https://codereview.chromium.org/2896583005 > Cr-Commit-Position: refs/heads/master@{#481791} > Committed: https://chromium.googlesource.com/chromium/src/+/33f72bfe8b9364e82990f92befa041a08d465d3c TBR=reillyg@chromium.org,timvolodine@chromium.org,jam@chromium.org,scheib@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=721427 Review-Url: https://codereview.chromium.org/2953263002 Cr-Commit-Position: refs/heads/master@{#481945}
56acd30f