NetSurf
Functions
dom_event.h File Reference

HTML content DOM event handling interface. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

dom_default_action_callback html_dom_event_fetcher (dom_string *type, dom_default_action_phase phase, void **pw)
 html content DOM action callback function selector More...
 

Detailed Description

HTML content DOM event handling interface.

Definition in file dom_event.h.

Function Documentation

◆ html_dom_event_fetcher()

dom_default_action_callback html_dom_event_fetcher ( dom_string *  type,
dom_default_action_phase  phase,
void **  pw 
)

html content DOM action callback function selector

selects a callback function for libdom to call based on the type and phase. dom_default_action_phase from events/document_event.h

The principle events are: DOMSubtreeModified DOMAttrModified DOMNodeInserted DOMNodeInsertedIntoDocument

Returns
callback function pointer or NULL for none

Definition at line 770 of file dom_event.c.

References dom_default_action_DOMNodeInserted_cb(), dom_default_action_DOMNodeInsertedIntoDocument_cb(), dom_default_action_DOMSubtreeModified_cb(), dom_default_action_finished_cb(), NSLOG, and type.

Referenced by html_create_html_data(), and html_process_encoding_change().

Here is the call graph for this function:
Here is the caller graph for this function: