| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| index 05e5d0b580ae9d264e6786b3974287f7f74effb8..35ee057d59e8517504abd1a119a00ba154e74350 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| @@ -3143,6 +3143,14 @@ public class ContentViewCore
|
| return mRenderCoordinates;
|
| }
|
|
|
| + @VisibleForTesting
|
| + public boolean isGeolocationActiveForTesting() {
|
| + if (mNativeContentViewCore != 0) {
|
| + return nativeIsGeolocationActiveForTesting(mNativeContentViewCore);
|
| + }
|
| + return false;
|
| + }
|
| +
|
| @CalledByNative
|
| private int getLocationInWindowX() {
|
| return mLocationInWindowX;
|
| @@ -3398,4 +3406,6 @@ public class ContentViewCore
|
|
|
| private native void nativeSendActionAfterDoubleTapUma(long nativeContentViewCoreImpl,
|
| int type, boolean hasDelay, int count);
|
| +
|
| + private native boolean nativeIsGeolocationActiveForTesting(long nativeContentViewCoreImpl);
|
| }
|
|
|