| 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);
|
|
|
| /**
|
|
|