diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-04-08 20:58:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-04-08 20:58:18 +0800 |
commit | 3ddeef804136e9f47f66c38c80d126a4285d525d (patch) | |
tree | 4af89e7a211ddad6b592066ad2d869f9eed03efe /embed/mozilla/EphyBrowser.h | |
parent | 07e28bd36e76b8122b2a84018a9764cdf6a1aac4 (diff) | |
download | gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.gz gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.bz2 gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.lz gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.xz gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.zst gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.zip |
Emit signal when encountering alternate links. Fixes bug #171657.
2005-04-08 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed.c: (ephy_embed_base_init):
* embed/ephy-embed.h:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* lib/ephy-marshal.list:
Emit signal when encountering alternate links. Fixes bug #171657.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r-- | embed/mozilla/EphyBrowser.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h index 4878dc412..c594e7f7c 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -67,10 +67,14 @@ protected: EphyBrowser *mOwner; }; -class EphyFaviconEventListener : public EphyEventListener +class EphyDOMLinkEventListener : public EphyEventListener { public: NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent); +private: + nsresult GetDocURI (nsIDOMElement *aElement, + nsIURI **aDocURI); + }; class EphyPopupBlockEventListener : public EphyEventListener @@ -107,7 +111,7 @@ protected: class EphyBrowser { friend class EphyEventListener; -friend class EphyFaviconEventListener; +friend class EphyDOMLinkEventListener; friend class EphyPopupBlockEventListener; friend class EphyModalAlertEventListener; friend class EphyContextMenuListener; @@ -177,7 +181,7 @@ private: nsCOMPtr<nsIDOMDocument> mTargetDocument; nsCOMPtr<nsIDOMEventTarget> mEventTarget; nsCOMPtr<nsIDOMWindow> mDOMWindow; - EphyFaviconEventListener *mFaviconEventListener; + EphyDOMLinkEventListener *mDOMLinkEventListener; EphyPopupBlockEventListener *mPopupBlockEventListener; EphyModalAlertEventListener *mModalAlertListener; EphyContextMenuListener *mContextMenuListener; |