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

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: Remove unnecessary change to content/. 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
« no previous file with comments | « no previous file | android_webview/native/aw_web_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 8065d2cac67658020919d0f068e818278c4dc43f..f622bab6e2e99b7211f60a635f5e5300eaa83e3c 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -245,6 +245,8 @@ void AwContents::SetJavaPeers(JNIEnv* env,
make_scoped_ptr(new InterceptNavigationDelegate(
env, intercept_navigation_delegate)));
+ web_contents_->ResumeLoadingCreatedWebContents();
+
// Finally, having setup the associations, release any deferred requests
web_contents_->ForEachFrame(base::Bind(&OnIoThreadClientReady));
gsennton 2015/10/30 15:02:43 Not sure whether ResumeLoadingCreatedWebContents s
}
« no previous file with comments | « no previous file | android_webview/native/aw_web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698