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

Unified Diff: content/browser/device_orientation/data_fetcher_impl_android.cc

Issue 10698046: Implements part of Device Motion in the Renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
Index: content/browser/device_orientation/data_fetcher_impl_android.cc
diff --git a/content/browser/device_orientation/data_fetcher_impl_android.cc b/content/browser/device_orientation/data_fetcher_impl_android.cc
index 6f54192092d02048ecfc219f9739d1aa7dd6e0ad..be706471c9e536fa42b3a4a8a862a2c6c520e0f6 100644
--- a/content/browser/device_orientation/data_fetcher_impl_android.cc
+++ b/content/browser/device_orientation/data_fetcher_impl_android.cc
@@ -54,6 +54,11 @@ DataFetcherImplAndroid::~DataFetcherImplAndroid() {
Stop();
}
+bool DataFetcherImplAndroid::GetMotion(Motion* motion) {
+ // TODO(aousterh): implement this
+ return false;
+}
+
bool DataFetcherImplAndroid::GetOrientation(Orientation* orientation) {
// Do we have a new orientation value? (It's safe to do this outside the lock
// because we only skip the lock if the value is null. We always enter the

Powered by Google App Engine
This is Rietveld 408576698