|
Implement Device Orientation using shared memory in content/renderer.
This CL features:
- extracted code in base class device_sensor_event_pump
- implementation of device_motion_event_pump and device_orientation_event_pump
- new unit test for device_orientation_event_pump
- added device_orientation_event_pump to platform, i.e. can be activated using SetDeviceOrientationListener().
- IPC messages, corresponding filter and hardware buffer implementation.
BUG= 261165
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215680
Total comments: 12
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+833 lines, -367 lines) |
Patch |
 |
A |
content/browser/device_orientation/device_motion_message_filter.h
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/device_orientation/device_motion_message_filter.cc
|
View
|
1
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/device_orientation/device_orientation_message_filter.h
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/device_orientation/device_orientation_message_filter.cc
|
View
|
1
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/device_orientation/message_filter.h
|
View
|
1
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/device_orientation/message_filter.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/device_orientation/orientation.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/device_orientation/orientation_message_filter.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/device_orientation/orientation_message_filter.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/browser/renderer_host/device_motion_browser_message_filter.h
|
View
|
1
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
D |
content/browser/renderer_host/device_motion_browser_message_filter.cc
|
View
|
1
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/DEPS
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/content_message_generator.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/device_motion_hardware_buffer.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
content/common/device_motion_messages.h
|
View
|
1
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
A |
content/common/device_orientation/OWNERS
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
content/common/device_orientation/device_motion_messages.h
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
content/common/device_orientation/device_orientation_hardware_buffer.h
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/device_orientation/device_orientation_messages.h
|
View
|
1
2
3
4
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/device_orientation_messages.h
|
View
|
1
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/device_orientation/device_motion_event_pump.h
|
View
|
|
2 chunks |
+9 lines, -34 lines |
0 comments
|
Download
|
 |
M |
content/renderer/device_orientation/device_motion_event_pump.cc
|
View
|
1
|
3 chunks |
+22 lines, -77 lines |
0 comments
|
Download
|
 |
M |
content/renderer/device_orientation/device_motion_event_pump_unittest.cc
|
View
|
|
3 chunks |
+10 lines, -31 lines |
0 comments
|
Download
|
 |
A |
content/renderer/device_orientation/device_orientation_event_pump.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/device_orientation/device_orientation_event_pump.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/device_orientation/device_orientation_event_pump_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+178 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/device_orientation/device_sensor_event_pump.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/device_orientation/device_sensor_event_pump.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/device_orientation_dispatcher.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_webkitplatformsupport_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|