Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index ef73451fc22bb90396332d2416e048d25de58257..05e3a1d8d2357e5b07a4ce4e24be63159e6164e9 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -215,6 +215,11 @@ class CONTENT_EXPORT WebContentsDelegate { |
// to live. Default is true. |
virtual bool ShouldFocusPageAfterCrash(); |
+ // Returns whether the page should resume accepting requests for the new |
+ // window. This is used when window creation is asynchronous |
+ // and the navigations need to be delayed. Default is true. |
+ virtual bool ShouldResumeRequestsForCreatedWindow(); |
+ |
// This is called when WebKit tells us that it is done tabbing through |
// controls on the page. Provides a way for WebContentsDelegates to handle |
// this. Returns true if the delegate successfully handled it. |