|
Battery Status API: add testing support for LayoutTests.
Adds plumbing to make it possible to test the blink
implementation of the Battery Status API using LayoutTests and
TestRunner. In test mode a fake battery status dispatcher is
used to allow manual triggering of battery status changes using
TestRunner.didChangeBatteryStatus method.
BUG= 122593, 360068
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274652
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+162 lines, -0 lines) |
Patch |
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/test/layouttest_support.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/battery_status/fake_battery_status_dispatcher.h
|
View
|
1
2
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/battery_status/fake_battery_status_dispatcher.cc
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/renderer/test_runner/WebTestDelegate.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/renderer/test_runner/test_runner.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/renderer/test_runner/test_runner.cc
|
View
|
1
2
3
4
|
6 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/renderer/webkit_test_runner.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/renderer/webkit_test_runner.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/test/layouttest_support.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|