Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index b3f219d621d47dc91e7e5b4e14971be466f5677c..0065a945fd0bf791da92ce7f51d1ef1e73958788 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; |
@@ -604,16 +605,20 @@ 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*) { } |
+ |
abarth-chromium
2014/03/04 18:59:32
Two blank lines between sections.
riju_
2014/03/05 15:47:27
Done.
|
// Screen Orientation ------------------------------------------------- |
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { } |
@@ -621,6 +626,7 @@ public: |
virtual void unlockOrientation() { } |
+ |
abarth-chromium
2014/03/04 18:59:32
You've got an extra blank line here.
riju_
2014/03/05 15:47:27
Done.
|
// Quota ----------------------------------------------------------- |
// Queries the storage partition's storage usage and quota information. |