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

Unified Diff: public/platform/WebDeviceLightListener.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/WebBatteryStatusListener.h ('k') | public/platform/WebDeviceMotionListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDeviceLightListener.h
diff --git a/public/platform/WebDeviceLightListener.h b/public/platform/WebDeviceLightListener.h
index 4b40842c89800358956b3491b2488b42a31c0e3f..26dc1ab195ef02a8d6268a407ee1eb84facd848a 100644
--- a/public/platform/WebDeviceLightListener.h
+++ b/public/platform/WebDeviceLightListener.h
@@ -5,9 +5,11 @@
#ifndef WebDeviceLightListener_h
#define WebDeviceLightListener_h
+#include "WebPlatformEventListener.h"
+
namespace blink {
-class WebDeviceLightListener {
+class WebDeviceLightListener : public WebPlatformEventListener {
public:
// This method is called every time new device light data is available.
virtual void didChangeDeviceLight(double) = 0;
« no previous file with comments | « public/platform/WebBatteryStatusListener.h ('k') | public/platform/WebDeviceMotionListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698