Index: content/renderer/renderer_webkitplatformsupport_impl.h |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h |
index 5e3ba6937dc066eeabf5b449d1dabf4deea6cd3f..f3eec8a1c28739f17ac5cae6ea52cd0c72621283 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.h |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h |
@@ -38,6 +38,7 @@ class WebScreenOrientationListener; |
namespace content { |
class DeviceMotionEventPump; |
class DeviceOrientationEventPump; |
+class BatteryStatusDispatcher; |
class QuotaMessageFilter; |
class RendererClipboardClient; |
class ScreenOrientationDispatcher; |
@@ -139,6 +140,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
blink::WebDeviceMotionListener* listener) OVERRIDE; |
virtual void setDeviceOrientationListener( |
blink::WebDeviceOrientationListener* listener) OVERRIDE; |
+ virtual void setBatteryStatusListener( |
+ blink::WebBatteryListener* listener) OVERRIDE; |
+ |
virtual void queryStorageUsageAndQuota( |
const blink::WebURL& storage_partition, |
blink::WebStorageQuotaType, |
@@ -231,6 +235,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
+ scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
}; |