Index: content/browser/android/content_view_core_impl.h |
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h |
index 0c3a5ec3ea18b8568ec3c00228635e4ed047a1d2..5fb2b0ecc24044637885ae7ad172a32390eec00c 100644 |
--- a/content/browser/android/content_view_core_impl.h |
+++ b/content/browser/android/content_view_core_impl.h |
@@ -63,6 +63,7 @@ class ContentViewCoreImpl : public ContentViewCore, |
virtual void RequestContentClipping(const gfx::Rect& clipping, |
const gfx::Size& content_size) OVERRIDE; |
virtual void PauseVideo() OVERRIDE; |
+ virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; |
// -------------------------------------------------------------------------- |
// Methods called from Java via JNI |
@@ -229,6 +230,8 @@ class ContentViewCoreImpl : public ContentViewCore, |
jint count); |
void SendSingleTapUma(JNIEnv* env, jobject obj, jint type, jint count); |
+ bool IsGeolocationActiveForTesting(JNIEnv* env, jobject obj); |
+ |
// -------------------------------------------------------------------------- |
// Public methods that call to Java via JNI |
// -------------------------------------------------------------------------- |
@@ -383,6 +386,8 @@ class ContentViewCoreImpl : public ContentViewCore, |
// will be sent to Renderer once it is ready. |
int device_orientation_; |
+ bool geolocation_needs_pause_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
}; |