Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1019)

Unified Diff: public/platform/WebBatteryStatusListener.h

Issue 417213002: Introduce PlatformEvent to handle Device events, Battery events and Gamepad events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebDeviceLightListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebBatteryStatusListener.h
diff --git a/public/platform/WebBatteryStatusListener.h b/public/platform/WebBatteryStatusListener.h
index f385b15b8f81de5d404f4ca0fee9805cb5fb5a4e..decb8074194b17ef3d3ce9c5279190a990700e16 100644
--- a/public/platform/WebBatteryStatusListener.h
+++ b/public/platform/WebBatteryStatusListener.h
@@ -6,12 +6,13 @@
#define WebBatteryStatusListener_h
#include "WebBatteryStatus.h"
+#include "WebPlatformEventListener.h"
namespace blink {
class WebBatteryStatus;
-class WebBatteryStatusListener {
+class WebBatteryStatusListener : public WebPlatformEventListener {
public:
// This method is called when a new battery status is available.
virtual void updateBatteryStatus(const WebBatteryStatus&) = 0;
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebDeviceLightListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698