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 3bb12913975c29ed0cc4252d502437080f3359df..83a7f19ae6312a0eec5b326cf3d1659f69a0831e 100644 |
--- a/content/browser/android/content_view_core_impl.h |
+++ b/content/browser/android/content_view_core_impl.h |
@@ -229,12 +229,26 @@ class ContentViewCoreImpl : public ContentViewCore, |
void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque); |
+ // Notifies the main frame that it can continue navigation (if it was deferred |
+ // immediately at first response). |
+ void ResumeResponseDeferredAtStart(JNIEnv* env, jobject obj); |
+ |
+ void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj); |
+ |
jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); |
// -------------------------------------------------------------------------- |
// Public methods that call to Java via JNI |
// -------------------------------------------------------------------------- |
+ // This method is invoked when the request is deferred immediately after |
+ // receiving response headers. |
+ void DidDeferAfterResponseStarted(); |
+ |
+ // This method is invoked when a navigation transition is detected, to |
+ // determine if the embedder intends to handle it. |
+ bool WillHandleDeferAfterResponseStarted(); |
+ |
void OnSmartClipDataExtracted(const base::string16& result); |
// Creates a popup menu with |items|. |