Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 5682f3b71b830bb9a438f994ec089eb7e61fdb51..c801bc7f0b419c7f6ea3d11fe66c9525539b08fe 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -36,6 +36,7 @@ |
#endif |
#include "WebAudioDevice.h" |
+#include "WebBatteryListener.h" |
timvolodine
2014/04/23 17:32:37
no need for include if you are forward-declaring i
|
#include "WebCommon.h" |
#include "WebData.h" |
#include "WebGamepadListener.h" |
@@ -55,6 +56,7 @@ class GrContext; |
namespace blink { |
class WebAudioBus; |
+class WebBatteryListener; |
timvolodine
2014/04/23 17:32:37
could we rename this to WebBatteryStatusListener?
|
class WebBlobRegistry; |
class WebContentDecryptionModule; |
class WebClipboard; |
@@ -159,6 +161,10 @@ public: |
// creates and owns it. |
virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return 0; } |
+ // Battery ----------------------------------------------------------------- |
timvolodine
2014/04/23 17:32:37
seems that other lines have length 72.. don't know
|
+ |
+ // Sets the listener for watching battery status updates. |
+ virtual void setBatteryListener(blink::WebBatteryListener*) { } |
timvolodine
2014/04/23 17:32:37
can we rename the method to setBatteryStatusListen
|
// Blob ---------------------------------------------------------------- |