From 310162474a3690e00244a0edd87361bf1352be82 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 31 Oct 2015 18:01:17 +0100 Subject: Add fire_dom_event, it's in a bad place but we can move it later --- render/html_internal.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'render/html_internal.h') 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; -- cgit v1.2.3