From 12fd5ddd69500f504735d458093fe41e3da40a49 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 1 Dec 2019 09:55:53 +0000 Subject: HTML: Rename fire_dom_event to fire_generic_dom_event. --- content/handlers/html/html.c | 4 ++-- content/handlers/html/html_internal.h | 2 +- content/handlers/html/interaction.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index 631045a1e..c66d2aca1 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -78,8 +78,8 @@ static const char *html_types[] = { }; /* Exported interface, see html_internal.h */ -bool fire_dom_event(dom_string *type, dom_node *target, - bool bubbles, bool cancelable) +bool fire_generic_dom_event(dom_string *type, dom_node *target, + bool bubbles, bool cancelable) { dom_exception exc; dom_event *evt; diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h index 11891e681..f24acff82 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -401,7 +401,7 @@ nserror html_object_abort_objects(html_content *html); * Construct an event and fire it at the DOM * */ -bool fire_dom_event(dom_string *type, dom_node *target, +bool fire_generic_dom_event(dom_string *type, dom_node *target, bool bubbles, bool cancelable); /* Useful dom_string pointers */ diff --git a/content/handlers/html/interaction.c b/content/handlers/html/interaction.c index 61f4173fd..bc130f077 100644 --- a/content/handlers/html/interaction.c +++ b/content/handlers/html/interaction.c @@ -1172,7 +1172,7 @@ html_mouse_action(struct content *c, /* fire dom click event */ if (mouse & BROWSER_MOUSE_CLICK_1) { - fire_dom_event(corestring_dom_click, node, true, true); + fire_generic_dom_event(corestring_dom_click, node, true, true); } /* deferred actions that can cause this browser_window to be destroyed -- cgit v1.2.3