Chromium Code Reviews| 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 4d437604a28e7dc5d459bdd677de6862c4c3856d..f0cc4212d2551d15b00a706b24dfa62b2ae22658 100644 |
| --- a/content/public/browser/render_view_host_delegate.h |
| +++ b/content/public/browser/render_view_host_delegate.h |
| @@ -327,6 +327,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); |
|
joth
2012/05/11 15:34:13
I wonder if it would be preferable to have this un
mkosiba (inactive)
2012/05/15 14:20:23
As the change is now the new throttle is built (an
|
| + |
| // A javascript message, confirmation or prompt should be shown. |
| virtual void RunJavaScriptMessage(RenderViewHost* rvh, |
| const string16& message, |