Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 547bcec99fac10d47461bac44de4998fc21ed832..f2b48987aa58d3935900e36243d756faf01ea1e6 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -61,6 +61,7 @@ class WebCompositorSupport; |
class WebCookieJar; |
class WebCrypto; |
class WebDatabaseObserver; |
+class WebDeviceLightListener; |
class WebDeviceMotionListener; |
class WebDeviceOrientationListener; |
class WebDiscardableMemory; |
@@ -603,16 +604,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*) { } |