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/ephy-embed.c | |
parent | 58addfabc1ee4b84459117e2b73e575f9c792165 (diff) | |
download | gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.gz gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.bz2 gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.lz gsoc2013-epiphany-6a817a5731527cb9fd77524cdd2956eae6f794c2.tar.xz 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/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 1fbed68e2..f6547f8fc 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -332,6 +332,23 @@ ephy_embed_base_init (gpointer g_class) G_TYPE_NONE, 1, EPHY_TYPE_EMBED_DOCUMENT_TYPE); +/** + * EphyEmbed::dom-content-loaded: + * @embed: + * + * The ::dom-content-loaded signal is emitted when + * the document has been loaded (excluding images and other loads initiated by this document). + * That's true also for frameset and all the frames within it. + **/ + g_signal_new ("dom_content_loaded", + EPHY_TYPE_EMBED, + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET (EphyEmbedIface, dom_content_loaded), + NULL, NULL, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, + 1, + G_TYPE_POINTER); initialized = TRUE; } |