forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of Refactor DeviceMotionEventPump to use //device/generic_sens…
…or instead of //device/sensors (patchset #13 id:240001 of https://codereview.chromium.org/2896583005/ ) Reason for revert: Need to figure out some issues related to this CL on Android and Mac. 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-Commit-Position: refs/heads/master@{#480934} > Committed: https://chromium.googlesource.com/chromium/src/+/687e6a76c9d634404eb93643ab900596a77958fd TBR=reillyg@chromium.org,timvolodine@chromium.org,jam@chromium.org,scheib@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=721427 Review-Url: https://codereview.chromium.org/2948253002 Cr-Commit-Position: refs/heads/master@{#481599}
- Loading branch information
juncai
authored and
Commit Bot
committed
Jun 22, 2017
1 parent
002beb1
commit c7808a0
Showing
15 changed files
with
195 additions
and
831 deletions.
There are no files selected for viewing
287 changes: 73 additions & 214 deletions
287
content/browser/device_sensors/device_sensor_browsertest.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.