aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyContentPolicy.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-29 19:55:26 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-29 19:55:26 +0800
commit37cfe7d93589d097a19a0dafbd38dead9f42e4ad (patch)
treec4f27ccf19b865227ccbd6e8c42b91c5344cfcca /embed/mozilla/EphyContentPolicy.cpp
parent7da71111b450e1133aa4a6c077e30f3bf850bdf3 (diff)
downloadgsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.gz
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.bz2
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.lz
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.xz
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.zst
gsoc2013-epiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.zip
Mozilla API change.
2004-07-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyContentPolicy.cpp: Mozilla API change.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.cpp')
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp
index 3a537c42c..605c14f5a 100644
--- a/embed/mozilla/EphyContentPolicy.cpp
+++ b/embed/mozilla/EphyContentPolicy.cpp
@@ -62,7 +62,11 @@ NS_IMETHODIMP
EphyContentPolicy::ShouldLoad(PRUint32 aContentType,
nsIURI *aContentLocation,
nsIURI *aRequestingLocation,
+#if MOZILLA_SNAPSHOT >= 20
+ nsISupports *aContext,
+#else
nsIDOMNode *aRequestingNode,
+#endif
const nsACString &aMimeTypeGuess,
nsISupports *aExtra,
PRInt16 *aDecision)
@@ -101,7 +105,11 @@ NS_IMETHODIMP
EphyContentPolicy::ShouldProcess(PRUint32 aContentType,
nsIURI *aContentLocation,
nsIURI *aRequestingLocation,
+#if MOZILLA_SNAPSHO >= 20
+ nsISupports *aContext,
+#else
nsIDOMNode *aRequestingNode,
+#endif
const nsACString &aMimeType,
nsISupports *aExtra,
PRInt16 *aDecision)