diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyContentPolicy.cpp | 8 |
2 files changed, 15 insertions, 0 deletions
@@ -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) |