aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.h
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-06-21 19:09:56 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-06-21 19:09:56 +0800
commit234742d9a6c75c8163a47bd1f3b1eeeba15e58cc (patch)
tree8901df253d7052f7d0b157f8dcd38c33a927ddfb /embed/mozilla/EphyBrowser.h
parent848ded5f81fc73bafd62c6cbf1e2b9b9814e7263 (diff)
downloadgsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.gz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.bz2
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.lz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.xz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.zst
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.zip
Implement popup-blocking signals. Part of bug #111930.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r--embed/mozilla/EphyBrowser.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 07023887c..72d69a8a7 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -66,6 +66,12 @@ private:
nsresult HandleFaviconLink (nsIDOMNode *node);
};
+class EphyPopupBlockEventListener : public EphyEventListener
+{
+public:
+ NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
+};
+
class EphyBrowser
{
public:
@@ -128,6 +134,7 @@ private:
nsCOMPtr<nsIDOMEventReceiver> mEventReceiver;
nsCOMPtr<nsIDOMWindow> mDOMWindow;
EphyFaviconEventListener *mFaviconEventListener;
+ EphyPopupBlockEventListener *mPopupBlockEventListener;
PRBool mInitialized;
nsresult GetListener (void);