Reland Device Orientation API on Chrome OS
This reverts commit
cc6a8bfeb49e93068e8df28f406e6ad0b5d6915e.
From review: https://codereview.chromium.org/
899973002/
Original issue's description:
> Device Orientation API on Chrome OS
>
> Implement DataFetcherSharedMemory on Chrome OS to provide Device Orientation support. Create SensorManagerChromeOS to observe accelerometer events, and to generate updates to the Device Orientation API.
>
> This is a follow up to: https://codereview.chromium.org/
680383007/
>
> With the accelerometer on Chrome OS now exposed to content/ from chromeos/accelerometer, no ash/ implementation is required. No public api in content/public/browser is needed either.
>
> TEST=SensorManagerTest.OrientationBuffer, SensorManagerTest.NeutralOrientation, SensorManagerTest.UpsideDown, SensorManagerTest.BeforeUpsideDownBoundary, SensorManagerTest.LeftEdge, SensorManagerTest.RightEdge, SensorManagerTest.BeforeRightEdgeBoundary
> BUG=342908
TBR=timvolodine@chromium.org,jam@chromium.org
BUG=342908
Review URL: https://codereview.chromium.org/
880083005
Cr-Commit-Position: refs/heads/master@{#314692}