aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-04-01 05:54:37 +0800
committerChristian Persch <chpe@src.gnome.org>2008-04-01 05:54:37 +0800
commitc1d5bd5d710ff5acdcd096a46b759589c535f131 (patch)
tree1caa2917737dd6fcfc74ed236493f5300089588d /embed/mozilla/EphyBrowser.h
parentde8872ec4800156389fc4a124ceb3f8d15743ad7 (diff)
downloadgsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar.gz
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar.bz2
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar.lz
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar.xz
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.tar.zst
gsoc2013-epiphany-c1d5bd5d710ff5acdcd096a46b759589c535f131.zip
Try to fix the build with gecko 1.8
svn path=/trunk/; revision=8175
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r--embed/mozilla/EphyBrowser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 68f41b0af..18520fc03 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -107,6 +107,7 @@ public:
EphyDOMScrollEventListener(EphyBrowser *aOwner) : EphyEventListener(aOwner) { };
};
+#ifdef HAVE_GECKO_1_9
class EphyCommandEventListener : public EphyEventListener
{
public:
@@ -114,6 +115,9 @@ public:
EphyCommandEventListener(EphyBrowser *aOwner) : EphyEventListener(aOwner) { };
};
+#else
+class EphyCommandEventListener;
+#endif /* HAVE_GECKO_1_9 */
class EphyContextMenuListener : public nsIDOMContextMenuListener
{
@@ -213,7 +217,9 @@ private:
EphyDOMScrollEventListener *mDOMScrollEventListener;
EphyPopupBlockEventListener *mPopupBlockEventListener;
EphyModalAlertEventListener *mModalAlertListener;
+#ifdef HAVE_GECKO_1_9
EphyCommandEventListener *mCommandEventListener;
+#endif
EphyContextMenuListener *mContextMenuListener;
PRBool mInitialized;
#ifdef HAVE_MOZILLA_PSM