aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-02-09 00:55:11 +0800
committerChristian Persch <chpe@src.gnome.org>2007-02-09 00:55:11 +0800
commit22536f5f49721215d1cac8a97cb90b2b81d48449 (patch)
treec96910d3259c7d2ea33317821a041726702b8adc
parent6288e2046e60a3010c84cea478452cc22905d9e6 (diff)
downloadgsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar
gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.gz
gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.bz2
gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.lz
gsoc2013-epiphany-22536f5f49721215d1cac8a97cb90b2b81d48449.tar.xz
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--ChangeLog6
-rw-r--r--embed/mozilla/MozDownload.cpp14
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 102d134ed..d7285cbce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{