|
Refactor AccelerometerReader to provide an Observer
Change chromeos::AccelerometerReader from using a single delegate, to using observers. We need to begin listening to it from both ash/ and content/
Removed the abstraction ash::AccelerometerController, and updated all locations to use the reader directly.
TEST=MaximizeModeControllerTes
BUG= 431865
Committed: https://crrev.com/8834fc4b4fe4997dd9b991ce5984e0d7e157a4d4
Cr-Commit-Position: refs/heads/master@{#309219}
Total comments: 13
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -233 lines) |
Patch |
 |
M |
ash/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
D |
ash/accelerometer/accelerometer_controller.h
|
View
|
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
D |
ash/accelerometer/accelerometer_controller.cc
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
 |
D |
ash/accelerometer/accelerometer_observer.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
2
3
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_controller.h
|
View
|
1
|
5 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_controller.cc
|
View
|
1
2
3
|
8 chunks |
+25 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
|
View
|
1
2
3
4
|
11 chunks |
+3 lines, -19 lines |
0 comments
|
Download
|
 |
M |
athena/system/orientation_controller.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
athena/system/orientation_controller.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/ash_init.cc
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/accelerometer/accelerometer_reader.h
|
View
|
1
|
2 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chromeos/accelerometer/accelerometer_reader.cc
|
View
|
1
|
3 chunks |
+22 lines, -11 lines |
0 comments
|
Download
|
Total messages: 28 (9 generated)
|