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 f6a04a5c40ff310206abf9336b81b88173cca69c..d8f6ac249228f33f5d7fefa326c6c41fcb4e1e87 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -84,6 +84,11 @@ class CONTENT_EXPORT WebContentsDelegate { |
virtual WebContents* OpenURLFromTab(WebContents* source, |
const OpenURLParams& params); |
+ // Allows the delegate to optionally cancel navigations that attempt to |
+ // transfer to a different process between the start of the network load and |
+ // commit. Defaults to true. |
+ virtual bool ShouldTransferNavigation(); |
+ |
// Called to inform the delegate that the WebContents's navigation state |
// changed. The |changed_flags| indicates the parts of the navigation state |
// that have been updated. |