Index: content/renderer/renderer_webkitplatformsupport_impl.h |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h |
index a91ffefbc9767d2f999f2906bd104a0a17007a07..725a8ec902c3ef7a876844da64e5defa96bf3e78 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.h |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h |
@@ -28,6 +28,7 @@ class SyncMessageFilter; |
} |
namespace blink { |
+class WebBatteryStatus; |
class WebDeviceMotionData; |
class WebDeviceOrientationData; |
class WebGraphicsContext3DProvider; |
@@ -185,6 +186,10 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
// Resets the mock screen orientation data used for testing. |
static void ResetMockScreenOrientationForTesting(); |
+ // Notifies blink::WebBatteryStatusListener that battery status has changed. |
+ static void MockBatteryStatusChangedForTesting( |
+ const blink::WebBatteryStatus& status); |
+ |
WebDatabaseObserverImpl* web_database_observer_impl() { |
return web_database_observer_impl_.get(); |
} |