diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-09 06:07:14 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-09 06:07:14 +0800 |
commit | 58c02748cef964cc8ae3cc4491b60b2a0ab347a5 (patch) | |
tree | 2ce936bafcdb1a2aa6452514780f2bdc1ca730e9 /embed/mozilla/EphyProtocolHandler.h | |
parent | 8fccec0d3da3a35d55ee131cc5699cf95c774c51 (diff) | |
download | gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar.gz gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar.bz2 gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar.lz gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar.xz gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.tar.zst gsoc2013-epiphany-58c02748cef964cc8ae3cc4491b60b2a0ab347a5.zip |
Error pages implementation.
2005-07-09 Christian Persch <chpe@cvs.gnome.org>
* data/default-prefs-gecko-1-8.js:
* embed/mozilla/EphyProtocolHandler.cpp:
* embed/mozilla/EphyProtocolHandler.h:
Error pages implementation.
Diffstat (limited to 'embed/mozilla/EphyProtocolHandler.h')
-rw-r--r-- | embed/mozilla/EphyProtocolHandler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/embed/mozilla/EphyProtocolHandler.h b/embed/mozilla/EphyProtocolHandler.h index 2fad9ac7b..f1eb0aac1 100644 --- a/embed/mozilla/EphyProtocolHandler.h +++ b/embed/mozilla/EphyProtocolHandler.h @@ -52,7 +52,13 @@ class EphyProtocolHandler : public nsIProtocolHandler, virtual ~EphyProtocolHandler(); private: - nsresult Redirect (const nsACString&, nsIChannel**); + nsresult Redirect(const nsACString&, nsIChannel**); + nsresult ParseErrorURL(const char*, nsACString&, nsACString&, nsACString&); + nsresult GetErrorMessage(nsIURI *, const char *, char **, char **); + nsresult HandleEpiphany(nsIURI*, nsIChannel **); + nsresult CreateErrorPage(nsIURI*, nsIChannel **); + nsresult Write(nsIOutputStream*, const char *); + nsresult WriteHTMLEscape(nsIOutputStream *, const char *); }; #endif /* EPHY_PROTOCOL_HANDLER_H */ |