NetSurf
content
handlers
html
dom_event.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 Vincent Sanders <vince@netsurf-browser.org>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
/**
20
* \file
21
* HTML content DOM event handling interface
22
*/
23
24
#ifndef NETSURF_HTML_DOM_EVENT_H
25
#define NETSURF_HTML_DOM_EVENT_H
26
27
/**
28
* html content DOM action callback function selector
29
*
30
* selects a callback function for libdom to call based on the type and phase.
31
* dom_default_action_phase from events/document_event.h
32
*
33
* The principle events are:
34
* DOMSubtreeModified
35
* DOMAttrModified
36
* DOMNodeInserted
37
* DOMNodeInsertedIntoDocument
38
*
39
* @return callback function pointer or NULL for none
40
*/
41
dom_default_action_callback
html_dom_event_fetcher
(dom_string *
type
, dom_default_action_phase phase,
void
**pw);
42
43
#endif
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
Definition:
dom_event.c:770
type
const char * type
Definition:
filetype.cpp:44
Generated on Sun Oct 20 2024 12:52:07 for NetSurf by
1.9.4