HTML: Rename fire_dom_event to fire_generic_dom_event.

This commit is contained in:
Michael Drake 2019-12-01 09:55:53 +00:00
parent c4919105ba
commit 12fd5ddd69
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 */

View File

@ -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