diff options
Diffstat (limited to 'chromium/content/public/renderer/content_renderer_client.h')
-rw-r--r-- | chromium/content/public/renderer/content_renderer_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/public/renderer/content_renderer_client.h b/chromium/content/public/renderer/content_renderer_client.h index fcb8e56b276..4434a0f083f 100644 --- a/chromium/content/public/renderer/content_renderer_client.h +++ b/chromium/content/public/renderer/content_renderer_client.h @@ -101,6 +101,10 @@ class CONTENT_EXPORT ContentRendererClient { virtual bool HasErrorPage(int http_status_code, std::string* error_domain); + // Returns true if the embedder prefers not to show an error page for a failed + // navigation to |url|. + virtual bool ShouldSuppressErrorPage(const GURL& url); + // Returns the information to display when a navigation error occurs. // If |error_html| is not null then it may be set to a HTML page containing // the details of the error and maybe links to more info. |