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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1095913002: Fix window.open issue in Document mode on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some whitespace issues Created 5 years, 8 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index dc1eede9f4f4b5a4e3438cc01bd3dcb41b94b969..dac56974b7e4492e0a84cd8c0e1a92d4f532f8f9 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -133,6 +133,10 @@ class CONTENT_EXPORT WebContentsImpl
// load. This is not safe to do in any context that a web page could get a
// reference to the DOMWindow before the first page load.
bool CreateRenderViewForInitialEmptyDocument();
+
+ // In Document Mode, unblocks requests from renderer after the activity and
+ // tab have been asynchronously initialized in Java.
+ void ResumeLoadingCreatedWebContents();
#endif
// Expose the render manager for testing.
@@ -915,6 +919,9 @@ class CONTENT_EXPORT WebContentsImpl
// called once as this call also removes it from the internal map.
WebContentsImpl* GetCreatedWindow(int route_id);
+ // Resume blocked requests for both the RenderViewHost and RenderFrameHost.
+ void ResumeRequestsForCreatedWindow(WebContentsImpl& new_contents);
+
// Tracking loading progress -------------------------------------------------
// Resets the tracking state of the current load progress.

Powered by Google App Engine
This is Rietveld 408576698