diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-29 05:52:39 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-29 05:52:39 +0800 |
commit | 9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3 (patch) | |
tree | 3124ff2eea27d3d59539293e3a9777dcc2c4950f /embed/mozilla/EphyContentPolicy.cpp | |
parent | 7e415c28ac44244dfb0f3b2ffb0451b8dc34861f (diff) | |
download | gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar.gz gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar.bz2 gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar.lz gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar.xz gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.tar.zst gsoc2013-epiphany-9cb2f185a5b2ddcbbe9b833d9f1915337e03a1b3.zip |
Mozilla API change.
2004-07-28 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyContentPolicy.cpp:
Mozilla API change.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.cpp')
-rw-r--r-- | embed/mozilla/EphyContentPolicy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp index b4dbfe632..a7200c3da 100644 --- a/embed/mozilla/EphyContentPolicy.cpp +++ b/embed/mozilla/EphyContentPolicy.cpp @@ -64,7 +64,11 @@ NS_IMETHODIMP EphyContentPolicy::ShouldLoad(PRUint32 aContentType, nsIURI *aContentLocation, nsIURI *aRequestingLocation, +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) + nsISupports *aContext, +#else nsIDOMNode *aRequestingNode, +#endif const nsACString &aMimeTypeGuess, nsISupports *aExtra, PRInt16 *aDecision) @@ -103,7 +107,11 @@ NS_IMETHODIMP EphyContentPolicy::ShouldProcess(PRUint32 aContentType, nsIURI *aContentLocation, nsIURI *aRequestingLocation, +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) + nsISupports *aContext, +#else nsIDOMNode *aRequestingNode, +#endif const nsACString &aMimeType, nsISupports *aExtra, PRInt16 *aDecision) |