|
Add Battery Status API support in content/renderer and IPC messages.
This patch defines the async IPCs needed for the Battery Status API.
It also implements the platform-side part with a
setBatteryStatusListener() method and a dispatcher class for
propagating messages to blink. Unit tests for the dispatcher
class are also included.
BUG= 122593, 360068
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270504
Total comments: 18
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+279 lines, -0 lines) |
Patch |
|
M |
content/common/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/common/battery_status_messages.h
|
View
|
1
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/content_message_generator.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 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
|
|
A + |
content/renderer/battery_status/OWNERS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
content/renderer/battery_status/battery_status_dispatcher.h
|
View
|
1
2
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/battery_status/battery_status_dispatcher.cc
|
View
|
1
2
3
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/battery_status/battery_status_dispatcher_unittest.cc
|
View
|
1
2
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|