diff options
Diffstat (limited to 'WebCore/dom/DeviceOrientationController.h')
-rw-r--r-- | WebCore/dom/DeviceOrientationController.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/dom/DeviceOrientationController.h b/WebCore/dom/DeviceOrientationController.h index 53b80f8..4fa9006 100644 --- a/WebCore/dom/DeviceOrientationController.h +++ b/WebCore/dom/DeviceOrientationController.h @@ -48,6 +48,8 @@ public: void didChangeDeviceOrientation(DeviceOrientation*); + bool isActive() { return !m_listeners.isEmpty(); } + private: void timerFired(Timer<DeviceOrientationController>*); |