DescriptionChange 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
Committed: https://crrev.com/9d6537c061de117ef7a82d214534798e0d7e1d1b
Cr-Commit-Position: refs/heads/master@{#311353}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change to normal singleton #Patch Set 3 : Fix athena compile #Patch Set 4 : Rebase #Patch Set 5 : Update new dependency #
Messages
Total messages: 14 (4 generated)
|