Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Unified Diff: content/renderer/device_orientation_dispatcher.h

Issue 10735052: Adds temporary function lastOrientationNew (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | content/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698