diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2005-05-13 05:53:05 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2005-05-13 05:53:05 +0800 |
commit | 6a817a5731527cb9fd77524cdd2956eae6f794c2 (patch) | |
tree | eaf137876a37a5bbd6311fd623c9fb170bf24fb2 /embed/mozilla/EphyBrowser.h | |
parent | 58addfabc1ee4b84459117e2b73e575f9c792165 (diff) | |
download | gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.gz gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.zst gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.zip |
Add handling of DOMContentLoaded event from Gecko. It is an event that
2005-05-12 Jean-François Rameau <jframeau@cvs.gnome.org>
* embed/ephy-embed.h:
* embed/ephy-embed.c:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EventContext.cpp:
Add handling of DOMContentLoaded event from Gecko.
It is an event that Gecko throws when the dom’s content is loaded,
that is, before all the images and what not have loaded.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r-- | embed/mozilla/EphyBrowser.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h index ffb11e11f..195d26f64 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -89,6 +89,12 @@ public: NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent); }; +class EphyDOMContentLoadedEventListener : public EphyEventListener +{ +public: + NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent); +}; + class EphyContextMenuListener : public nsIDOMContextMenuListener { public: @@ -112,6 +118,7 @@ class EphyBrowser { friend class EphyEventListener; friend class EphyDOMLinkEventListener; +friend class EphyDOMContentLoadedEventListener; friend class EphyPopupBlockEventListener; friend class EphyModalAlertEventListener; friend class EphyContextMenuListener; @@ -182,6 +189,7 @@ private: nsCOMPtr<nsIDOMEventTarget> mEventTarget; nsCOMPtr<nsIDOMWindow> mDOMWindow; EphyDOMLinkEventListener *mDOMLinkEventListener; + EphyDOMContentLoadedEventListener *mDOMContentLoadedEventListener; EphyPopupBlockEventListener *mPopupBlockEventListener; EphyModalAlertEventListener *mModalAlertListener; EphyContextMenuListener *mContextMenuListener; |