Change AccelerometerReader to a Singleton
On ChromeOS the accelerometer needs to be read by both ash/ and content/ This change removes the ownership of AccelerometerReader from Shell, changing it into a Singleton. TEST=Confirmed that a device with an accelerometer enters maximize mode. BUG=342908 Review URL: https://codereview.chromium.org/822503003 Cr-Commit-Position: refs/heads/master@{#311353}
Showing
Please register or sign in to comment