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

Unified Diff: content/renderer/device_orientation_dispatcher.cc

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 | « content/renderer/device_orientation_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/device_orientation_dispatcher.cc
diff --git a/content/renderer/device_orientation_dispatcher.cc b/content/renderer/device_orientation_dispatcher.cc
index 42ce18dfa9c8ace26240343509550c180eaf772d..1acdac32c2907080004f653f5595ad9b980d5fba 100644
--- a/content/renderer/device_orientation_dispatcher.cc
+++ b/content/renderer/device_orientation_dispatcher.cc
@@ -51,6 +51,11 @@ WebKit::WebDeviceOrientation DeviceOrientationDispatcher::lastOrientation()
return last_orientation_;
}
+WebKit::WebDeviceOrientation DeviceOrientationDispatcher::lastOrientationNew()
+ const {
+ return last_orientation_;
+}
+
namespace {
bool OrientationsEqual(const DeviceOrientationMsg_Updated_Params& a,
WebKit::WebDeviceOrientation* b) {
« no previous file with comments | « content/renderer/device_orientation_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698