Index: content/renderer/device_orientation_dispatcher.h |
diff --git a/content/renderer/device_orientation_dispatcher.h b/content/renderer/device_orientation_dispatcher.h |
index d643166619e9c6afda671b52528321bbbe861037..8ea5ca9a5453508658d2e89d272c5b9af58f9d62 100644 |
--- a/content/renderer/device_orientation_dispatcher.h |
+++ b/content/renderer/device_orientation_dispatcher.h |
@@ -32,6 +32,11 @@ class DeviceOrientationDispatcher : public content::RenderViewObserver, |
virtual void stopUpdating(); |
virtual WebKit::WebDeviceOrientation lastOrientation() const; |
+ // TODO(aousterh): modify lastOrientation to return a |
+ // WebKit::WebDeviceOrientationData then remove this function |
+ // once it is no longer called from WebKit |
+ virtual WebKit::WebDeviceOrientation lastOrientationNew() const; |
+ |
void OnDeviceOrientationUpdated( |
const DeviceOrientationMsg_Updated_Params& p); |