diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 19:50:13 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 19:50:13 +0000 |
commit | 5df266ac4bb90178e8e880909eddf65aab34da72 (patch) | |
tree | d42c1b150af0e3ebcbab33f95a8719788e9cd416 /webkit/glue/webview_delegate.h | |
parent | 02691705540232dffa1c2a0cd5fc574cdbb09612 (diff) | |
download | chromium_src-5df266ac4bb90178e8e880909eddf65aab34da72.zip chromium_src-5df266ac4bb90178e8e880909eddf65aab34da72.tar.gz chromium_src-5df266ac4bb90178e8e880909eddf65aab34da72.tar.bz2 |
Add an alternate error page for connection errors. This is already supported by Link Doctor, we just didn't have it at the time we implemented it.
ERR_CONNECTION_FAILED is from winhttp and ERR_CONNECTION_REFUSED is from new-http. These error codes seem to only be used in one or the other.
http://b/1359790
Review URL: http://codereview.chromium.org/7119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r-- | webkit/glue/webview_delegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h index c05f478..4db62be 100644 --- a/webkit/glue/webview_delegate.h +++ b/webkit/glue/webview_delegate.h @@ -640,7 +640,8 @@ class WebViewDelegate : virtual public WebWidgetDelegate { enum ErrorPageType { DNS_ERROR, - HTTP_404 + HTTP_404, + CONNECTION_ERROR, }; // If providing an alternate error page (like link doctor), returns the URL // to fetch instead. If an invalid url is returned, just fall back on local |