summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/DeviceOrientationClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/DeviceOrientationClient.h')
-rw-r--r--WebCore/dom/DeviceOrientationClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/dom/DeviceOrientationClient.h b/WebCore/dom/DeviceOrientationClient.h
index e0f14eb..427412f 100644
--- a/WebCore/dom/DeviceOrientationClient.h
+++ b/WebCore/dom/DeviceOrientationClient.h
@@ -28,10 +28,13 @@
namespace WebCore {
+class DeviceOrientation;
+
class DeviceOrientationClient {
public:
virtual void startUpdating() = 0;
virtual void stopUpdating() = 0;
+ virtual DeviceOrientation* lastOrientation() const = 0;
protected:
virtual ~DeviceOrientationClient() {}