diff options
author | Christian Persch <chpe@svn.gnome.org> | 2007-02-09 00:55:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-02-09 00:55:11 +0800 |
commit | 22536f5f49721215d1cac8a97cb90b2b81d48449 (patch) | |
tree | c96910d3259c7d2ea33317821a041726702b8adc | |
parent | 6288e2046e60a3010c84cea478452cc22905d9e6 (diff) | |
download | gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.gz gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.zst gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.zip |
Guess what? Another mozilla API change!
2007-02-08 Christian Persch <chpe@svn.gnome.org>
* embed/mozilla/MozDownload.cpp:
Guess what? Another mozilla API change!
svn path=/trunk/; revision=6895
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 14 |
2 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2007-02-08 Christian Persch <chpe@svn.gnome.org> + + * embed/mozilla/MozDownload.cpp: + + Guess what? Another mozilla API change! + 2007-02-07 Christian Persch <chpe@svn.gnome.org> * data/default-prefs-common.js: diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index bf1a1c28f..31cdb99dc 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -444,6 +444,20 @@ MozDownload::OnProgressChange64 (nsIWebProgress *aWebProgress, return NS_OK; } +#ifdef HAVE_GECKO_1_9 +/* boolean onRefreshAttempted (in nsIWebProgress aWebProgress, in nsIURI aRefreshURI, in long aDelay, in boolean aSameURI); */ +NS_IMETHODIMP +MozDownload::OnRefreshAttempted(nsIWebProgress *aWebProgress, + nsIURI *aUri, + PRInt32 aDelay, + PRBool aSameUri, + PRBool *allowRefresh) +{ + *allowRefresh = PR_TRUE; + return NS_OK; +} +#endif + NS_IMETHODIMP MozDownload::OnLocationChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsIURI *location) { |