Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2016)

Unified Diff: android_webview/native/aw_contents.cc

Issue 1405333005: Defer loads on WebView popup windows until webcontents delegate attached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move request resuming to receivePopupContents. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index e10eab626137ea1752df3bcd80a91785437f7c94..2512d69f8179ded33996ed146df3f6fe09b76624 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -1223,6 +1223,11 @@ void AwContents::GrantFileSchemeAccesstoChildProcess(JNIEnv* env, jobject obj) {
web_contents_->GetRenderProcessHost()->GetID(), url::kFileScheme);
}
+void AwContents::ResumeLoadingCreatedPopupWebContents(JNIEnv* env,
+ jobject obj) {
+ web_contents_->ResumeLoadingCreatedWebContents();
+}
+
void SetShouldDownloadFavicons(JNIEnv* env,
const JavaParamRef<jclass>& jclazz) {
g_should_download_favicons = true;

Powered by Google App Engine
This is Rietveld 408576698