aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyProtocolHandler.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-09 06:07:14 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-09 06:07:14 +0800
commit58c02748cef964cc8ae3cc4491b60b2a0ab347a5 (patch)
tree2ce936bafcdb1a2aa6452514780f2bdc1ca730e9 /embed/mozilla/EphyProtocolHandler.h
parent8fccec0d3da3a35d55ee131cc5699cf95c774c51 (diff)
downloadgsoc2013-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.h8
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 */