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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java

Issue 137853006: Android: rename DataFetcherImplAndroid -> SensorManagerAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 10 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/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java b/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java
index 936b710b39bcbad78ce9894486d26c246f8204b9..0551361b31abbe86049c0d2c622c3671ea15c581 100644
--- a/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java
+++ b/content/public/android/java/src/org/chromium/content/browser/DeviceMotionAndOrientation.java
@@ -58,7 +58,7 @@ class DeviceMotionAndOrientation implements SensorEventListener {
/**
* constants for using in JNI calls, also see
- * content/browser/device_orientation/data_fetcher_impl_android.cc
+ * content/browser/device_orientation/sensor_manager_android.cc
*/
static final int DEVICE_ORIENTATION = 0;
static final int DEVICE_MOTION = 1;
@@ -439,35 +439,35 @@ class DeviceMotionAndOrientation implements SensorEventListener {
/**
* Native JNI calls,
- * see content/browser/device_orientation/data_fetcher_impl_android.cc
+ * see content/browser/device_orientation/sensor_manager_android.cc
*/
/**
* Orientation of the device with respect to its reference frame.
*/
private native void nativeGotOrientation(
- long nativeDataFetcherImplAndroid,
+ long nativeSensorManagerAndroid,
double alpha, double beta, double gamma);
/**
* Linear acceleration without gravity of the device with respect to its body frame.
*/
private native void nativeGotAcceleration(
- long nativeDataFetcherImplAndroid,
+ long nativeSensorManagerAndroid,
double x, double y, double z);
/**
* Acceleration including gravity of the device with respect to its body frame.
*/
private native void nativeGotAccelerationIncludingGravity(
- long nativeDataFetcherImplAndroid,
+ long nativeSensorManagerAndroid,
double x, double y, double z);
/**
* Rotation rate of the device with respect to its body frame.
*/
private native void nativeGotRotationRate(
- long nativeDataFetcherImplAndroid,
+ long nativeSensorManagerAndroid,
double alpha, double beta, double gamma);
/**
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698