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

Unified Diff: public/platform/WebDeviceMotionListener.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/WebDeviceLightListener.h ('k') | public/platform/WebDeviceOrientationListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDeviceMotionListener.h
diff --git a/public/platform/WebDeviceMotionListener.h b/public/platform/WebDeviceMotionListener.h
index 820271c07ad0780157ead97cdd16e5dba2ab1403..6b49169c18e8b338f1da50fae50f385ac1635bdc 100644
--- a/public/platform/WebDeviceMotionListener.h
+++ b/public/platform/WebDeviceMotionListener.h
@@ -31,11 +31,13 @@
#ifndef WebDeviceMotionListener_h
#define WebDeviceMotionListener_h
+#include "WebPlatformEventListener.h"
+
namespace blink {
class WebDeviceMotionData;
-class WebDeviceMotionListener {
+class WebDeviceMotionListener : public WebPlatformEventListener {
public:
// This method is called every time new device motion data is available.
virtual void didChangeDeviceMotion(const WebDeviceMotionData&) = 0;
« no previous file with comments | « public/platform/WebDeviceLightListener.h ('k') | public/platform/WebDeviceOrientationListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698