Chromium Code Reviews

Unified Diff: content/public/test/layouttest_support.h

Issue 1740843002: Revert of Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/battery_status/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 402fd044e164636ad7dd7172cde84c949ca3e039..a3171ba0cbd0343575e9fd5a6c1df156e84f20ce 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -17,6 +17,7 @@
class GURL;
namespace blink {
+class WebBatteryStatus;
class WebDeviceMotionData;
class WebDeviceOrientationData;
class WebGamepad;
@@ -78,6 +79,9 @@
// a listener through BlinkPlatformImpl::setDeviceOrientationListener().
void SetMockDeviceOrientationData(const blink::WebDeviceOrientationData& data);
+// Notifies blink that battery status has changed.
+void MockBatteryStatusChanged(const blink::WebBatteryStatus& status);
+
// Returns the length of the local session history of a render view.
int GetLocalSessionHistoryLength(RenderView* render_view);
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/battery_status/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine