| Index: android_webview/native/aw_web_contents_delegate.cc
|
| diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
|
| index d2a71e6e56c416454e1e971eed67362419a6cc46..b1ac9d4f40a9afd2d975d3ea55554a034e03cab0 100644
|
| --- a/android_webview/native/aw_web_contents_delegate.cc
|
| +++ b/android_webview/native/aw_web_contents_delegate.cc
|
| @@ -204,6 +204,18 @@ void AwWebContentsDelegate::ActivateContents(WebContents* contents) {
|
| }
|
| }
|
|
|
| +void AwWebContentsDelegate::LoadingStateChanged(WebContents* source,
|
| + bool to_different_document) {
|
| + // Page title may have changed, need to inform the embedder.
|
| + // |source| may be null if loading has started.
|
| + JNIEnv* env = AttachCurrentThread();
|
| +
|
| + ScopedJavaLocalRef<jobject> java_delegate = GetJavaDelegate(env);
|
| + if (java_delegate.obj()) {
|
| + Java_AwWebContentsDelegate_loadingStateChanged(env, java_delegate.obj());
|
| + }
|
| +}
|
| +
|
| void AwWebContentsDelegate::RequestMediaAccessPermission(
|
| WebContents* web_contents,
|
| const content::MediaStreamRequest& request,
|
|
|