Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index ab1c577a75539d67a9d5f60e17288b0570ce7775..f2e79d66c03d00877a3b1b66682f1ed50092274a 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -64,6 +64,7 @@ class WebConvertableToTraceFormat; |
class WebCookieJar; |
class WebCrypto; |
class WebDatabaseObserver; |
+class WebDeviceLightListener; |
class WebDeviceMotionListener; |
class WebDeviceOrientationListener; |
class WebDiscardableMemory; |
@@ -614,16 +615,21 @@ public: |
virtual WebCrypto* crypto() { return 0; } |
- // Device Motion / Orientation ---------------------------------------- |
+ // Device Motion / Orientation / Light ---------------------------------------- |
// Sets a Listener to listen for device motion data updates. |
// If null, the platform stops providing device motion data to the current listener. |
virtual void setDeviceMotionListener(blink::WebDeviceMotionListener*) { } |
// Sets a Listener to listen for device orientation data updates. |
- // If null, the platform stops proving device orientation data to the current listener. |
+ // If null, the platform stops providing device orientation data to the current listener. |
virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListener*) { } |
+ // Sets a Listener to listen for device light data updates. |
+ // If null, the platform stops providing device light data to the current listener. |
+ virtual void setDeviceLightListener(blink::WebDeviceLightListener*) { } |
+ |
+ |
// Screen Orientation ------------------------------------------------- |
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { } |