Index: content/public/browser/render_view_host_delegate.h |
diff --git a/content/public/browser/render_view_host_delegate.h b/content/public/browser/render_view_host_delegate.h |
index 17a4dc9795cb1432ff0e01cb9befe95a0e07325a..bb963c585eca8dddfd8f2a10cd31e501ffd76ab5 100644 |
--- a/content/public/browser/render_view_host_delegate.h |
+++ b/content/public/browser/render_view_host_delegate.h |
@@ -330,6 +330,13 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener { |
// The page wants to close the active view in this tab. |
virtual void RouteCloseEvent(RenderViewHost* rvh) {} |
+ // The page is asking whether to ignore the navigation. |
+ virtual bool ShouldIgnoreNavigation( |
+ RenderViewHost* rvh, |
+ const GURL& url, |
+ const content::Referrer& referrer, |
+ bool is_content_initiated); |
+ |
// A javascript message, confirmation or prompt should be shown. |
virtual void RunJavaScriptMessage(RenderViewHost* rvh, |
const string16& message, |