diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-29 19:55:26 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-29 19:55:26 +0800 |
commit | 37cfe7d93589d097a19a0dafbd38dead9f42e4ad (patch) | |
tree | c4f27ccf19b865227ccbd6e8c42b91c5344cfcca /embed/mozilla/EphyContentPolicy.cpp | |
parent | 7da71111b450e1133aa4a6c077e30f3bf850bdf3 (diff) | |
download | gsoc2013-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.cpp | 8 |
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) |