| Index: content/browser/web_contents/web_contents_android.h
|
| diff --git a/content/browser/web_contents/web_contents_android.h b/content/browser/web_contents/web_contents_android.h
|
| index add9637f5290b872092167ca08b2d1a4d5d02e5d..e15ece25d13be8515236f07502318a77d3850462 100644
|
| --- a/content/browser/web_contents/web_contents_android.h
|
| +++ b/content/browser/web_contents/web_contents_android.h
|
| @@ -13,11 +13,13 @@
|
| #include "base/supports_user_data.h"
|
| #include "content/browser/frame_host/navigation_controller_android.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_android.h"
|
| +#include "content/browser/transition_request_manager.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| class WebContents;
|
| +struct TransitionLayerData;
|
|
|
| // Android wrapper around WebContents that provides safer passage from java and
|
| // back to native and provides java with a means of communicating with its
|
| @@ -41,6 +43,25 @@ class CONTENT_EXPORT WebContentsAndroid
|
| jobject obj) const;
|
| void Stop(JNIEnv* env, jobject obj);
|
| jint GetBackgroundColor(JNIEnv* env, jobject obj);
|
| + base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const;
|
| + jboolean IsIncognito(JNIEnv* env, jobject obj);
|
| +
|
| + void ResumeResponseDeferredAtStart(JNIEnv* env, jobject obj);
|
| + void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj);
|
| + void SetupTransitionView(JNIEnv* env, jobject jobj, jstring markup);
|
| + void BeginExitTransition(JNIEnv* env, jobject jobj, jstring css_selector);
|
| +
|
| + // This method is invoked when the request is deferred immediately after
|
| + // receiving response headers.
|
| + void DidDeferAfterResponseStarted(const TransitionLayerData& transition_data);
|
| +
|
| + // This method is invoked when a navigation transition is detected, to
|
| + // determine if the embedder intends to handle it.
|
| + bool WillHandleDeferAfterResponseStarted();
|
| +
|
| + // This method is invoked when a navigation transition has started.
|
| + void DidStartNavigationTransitionForFrame(int64 frame_id);
|
| +
|
| void OnHide(JNIEnv* env, jobject obj);
|
| void OnShow(JNIEnv* env, jobject obj);
|
| void PauseVideo();
|
|
|