| 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 49e833ddd3c5fa976753d793d3f6b46e71de2bac..02fe3128462afef9a34e4f85421dcb3be39e68d9 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -33,6 +33,7 @@ class BrowserContext;
|
| class ColorChooser;
|
| class DownloadItem;
|
| class JavaScriptDialogCreator;
|
| +struct Referrer;
|
| class RenderViewHost;
|
| class WebContents;
|
| class WebIntentsDispatcher;
|
| @@ -77,6 +78,16 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| virtual WebContents* OpenURLFromTab(WebContents* source,
|
| const OpenURLParams& params);
|
|
|
| + // Returns false if the navigation in question is to proceed and true if it
|
| + // is to be ignored by the renderer.
|
| + virtual bool ShouldIgnoreNavigation(
|
| + WebContents* source,
|
| + const GURL& url,
|
| + const content::Referrer& referrer,
|
| + WindowOpenDisposition disposition,
|
| + bool is_content_initiated,
|
| + content::PageTransition transition_type);
|
| +
|
| // Called to inform the delegate that the tab content's navigation state
|
| // changed. The |changed_flags| indicates the parts of the navigation state
|
| // that have been updated, and is any combination of the
|
|
|