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. |