diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-10-31 18:01:17 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-10-31 18:01:38 +0100 |
commit | 310162474a3690e00244a0edd87361bf1352be82 (patch) | |
tree | 984f863a876c300b5e73992a0ef702e771c9916e /render/html_internal.h | |
parent | 4ca737408cc8c1777a01e362883886c230ee19dc (diff) | |
download | netsurf-310162474a3690e00244a0edd87361bf1352be82.tar.gz netsurf-310162474a3690e00244a0edd87361bf1352be82.tar.bz2 |
Add fire_dom_event, it's in a bad place but we can move it later
Diffstat (limited to 'render/html_internal.h')
-rw-r--r-- | render/html_internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/render/html_internal.h b/render/html_internal.h index 97ac2da55..e5740dbda 100644 --- a/render/html_internal.h +++ b/render/html_internal.h @@ -352,6 +352,14 @@ nserror html_object_close_objects(html_content *html); nserror html_object_open_objects(html_content *html, struct browser_window *bw); nserror html_object_abort_objects(html_content *html); +/* Events */ +/** + * Construct an event and fire it at the DOM + * + */ +bool fire_dom_event(dom_string *type, dom_node *target, + bool bubbles, bool cancelable); + /* Useful dom_string pointers */ struct dom_string; |