aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-02 05:59:08 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-02 05:59:08 +0800
commitc66c64145b28c44bd19cb6fa9b7781ddf6c57ff8 (patch)
tree65d9e7d5b6387bdd380a50eb24bb5072c1c63ac8 /embed/mozilla/EphyBrowser.h
parentd07304f7633e3b3456686b22d3c55b898b2758c9 (diff)
downloadgsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar.gz
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar.bz2
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar.lz
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar.xz
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.tar.zst
gsoc2013-epiphany-c66c64145b28c44bd19cb6fa9b7781ddf6c57ff8.zip
Don't QI the event target to nsIDOMEventReceiver and back to
2004-08-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Don't QI the event target to nsIDOMEventReceiver and back to nsIDOMEventTarget when using it, just store it as-is. Thanks to Crispin for noticing this.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r--embed/mozilla/EphyBrowser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 9d3cd8979..99a15f002 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -27,6 +27,7 @@
#include <gtkmozembed.h>
#include <nsCOMPtr.h>
#include <nsIDOMEventListener.h>
+#include <nsIDOMEventTarget.h>
#include <nsIWebNavigation.h>
#include <nsISHistory.h>
#include <nsIWebBrowser.h>
@@ -36,8 +37,7 @@
#include <nsIRequest.h>
#ifdef ALLOW_PRIVATE_API
-#include <nsIDocShell.h>
-#include <nsIDOMEventReceiver.h>
+#include "nsIContentViewer.h"
#endif
class EphyEventListener : public nsIDOMEventListener
@@ -134,7 +134,7 @@ public:
private:
nsCOMPtr<nsIDOMDocument> mTargetDocument;
- nsCOMPtr<nsIDOMEventReceiver> mEventReceiver;
+ nsCOMPtr<nsIDOMEventTarget> mEventTarget;
nsCOMPtr<nsIDOMWindow> mDOMWindow;
nsCOMPtr<nsISupports> mSecurityInfo;
EphyFaviconEventListener *mFaviconEventListener;