summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-29 11:55:26 +0000
committerChristian Persch <chpe@src.gnome.org>2004-07-29 11:55:26 +0000
commit37cfe7d93589d097a19a0dafbd38dead9f42e4ad (patch)
treec4f27ccf19b865227ccbd6e8c42b91c5344cfcca
parent7da71111b450e1133aa4a6c077e30f3bf850bdf3 (diff)
downloadepiphany-37cfe7d93589d097a19a0dafbd38dead9f42e4ad.tar.gz
Mozilla API change.
2004-07-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyContentPolicy.cpp: Mozilla API change.
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp8
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 764fd1054..279e6ebf4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-07-29 Christian Persch <chpe@cvs.gnome.org>
+
+ * configure.in:
+ * embed/mozilla/EphyContentPolicy.cpp:
+
+ Mozilla API change.
+
2004-07-28 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EventContext.cpp:
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)