HTML: Rename fire_dom_event to fire_generic_dom_event.
This commit is contained in:
parent
c4919105ba
commit
12fd5ddd69
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue