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); |