ReactOS
0.4.16-dev-122-g325d74c
htmlscript.h
Go to the documentation of this file.
1
/*
2
* Copyright 2012 Jacek Caban for CodeWeavers
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
*/
18
19
#pragma once
20
21
typedef
struct
{
22
HTMLElement
element
;
23
24
IHTMLScriptElement
IHTMLScriptElement_iface
;
25
26
nsIDOMHTMLScriptElement
*
nsscript
;
27
BOOL
parsed
;
28
BOOL
parse_on_bind
;
29
BOOL
pending_readystatechange_event
;
30
READYSTATE
readystate
;
31
}
HTMLScriptElement
;
32
33
typedef
struct
{
34
struct
list
entry
;
35
HTMLScriptElement
*
script
;
36
}
script_queue_entry_t
;
37
38
HRESULT
script_elem_from_nsscript
(
HTMLDocumentNode
*,
nsIDOMHTMLScriptElement
*,
HTMLScriptElement
**)
DECLSPEC_HIDDEN
;
39
void
bind_event_scripts
(
HTMLDocumentNode
*)
DECLSPEC_HIDDEN
;
40
41
void
release_script_hosts
(
HTMLInnerWindow
*)
DECLSPEC_HIDDEN
;
42
void
connect_scripts
(
HTMLInnerWindow
*)
DECLSPEC_HIDDEN
;
43
void
doc_insert_script
(
HTMLInnerWindow
*,
HTMLScriptElement
*)
DECLSPEC_HIDDEN
;
44
IDispatch
*
script_parse_event
(
HTMLInnerWindow
*,
LPCWSTR
)
DECLSPEC_HIDDEN
;
45
HRESULT
exec_script
(
HTMLInnerWindow
*,
const
WCHAR
*,
const
WCHAR
*,
VARIANT
*)
DECLSPEC_HIDDEN
;
46
void
set_script_mode
(
HTMLOuterWindow
*,
SCRIPTMODE
)
DECLSPEC_HIDDEN
;
47
BOOL
find_global_prop
(
HTMLInnerWindow
*,
BSTR
,
DWORD
,
ScriptHost
**,
DISPID
*)
DECLSPEC_HIDDEN
;
48
IDispatch
*
get_script_disp
(
ScriptHost
*)
DECLSPEC_HIDDEN
;
list
Definition:
list.h:37
DECLSPEC_HIDDEN
#define DECLSPEC_HIDDEN
Definition:
precomp.h:8
BSTR
OLECHAR * BSTR
Definition:
compat.h:2293
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
bind_event_scripts
void bind_event_scripts(HTMLDocumentNode *) DECLSPEC_HIDDEN
Definition:
script.c:1423
script_elem_from_nsscript
HRESULT script_elem_from_nsscript(HTMLDocumentNode *, nsIDOMHTMLScriptElement *, HTMLScriptElement **) DECLSPEC_HIDDEN
Definition:
htmlscript.c:425
release_script_hosts
void release_script_hosts(HTMLInnerWindow *) DECLSPEC_HIDDEN
Definition:
script.c:1583
connect_scripts
void connect_scripts(HTMLInnerWindow *) DECLSPEC_HIDDEN
Definition:
script.c:213
exec_script
HRESULT exec_script(HTMLInnerWindow *, const WCHAR *, const WCHAR *, VARIANT *) DECLSPEC_HIDDEN
Definition:
script.c:1245
script_parse_event
IDispatch * script_parse_event(HTMLInnerWindow *, LPCWSTR) DECLSPEC_HIDDEN
Definition:
script.c:1184
set_script_mode
void set_script_mode(HTMLOuterWindow *, SCRIPTMODE) DECLSPEC_HIDDEN
Definition:
script.c:1551
doc_insert_script
void doc_insert_script(HTMLInnerWindow *, HTMLScriptElement *) DECLSPEC_HIDDEN
Definition:
script.c:1172
get_script_disp
IDispatch * get_script_disp(ScriptHost *) DECLSPEC_HIDDEN
Definition:
script.c:1281
find_global_prop
BOOL find_global_prop(HTMLInnerWindow *, BSTR, DWORD, ScriptHost **, DISPID *) DECLSPEC_HIDDEN
Definition:
script.c:1500
HRESULT
Definition:
mshtmhst.idl:286
IDispatch
Definition:
oaidl.idl:569
nsIDOMHTMLScriptElement
Definition:
nsiface.idl:1837
entry
uint32_t entry
Definition:
isohybrid.c:63
DISPID
static VARIANTARG static DISPID
Definition:
ordinal.c:52
SCRIPTMODE
SCRIPTMODE
Definition:
mshtml_private.h:337
HTMLDocumentNode
Definition:
mshtml_private.h:771
HTMLElement
Definition:
mshtml_private.h:723
HTMLInnerWindow
Definition:
mshtml_private.h:464
HTMLOuterWindow
Definition:
mshtml_private.h:433
HTMLScriptElement
Definition:
htmlscript.h:21
HTMLScriptElement::pending_readystatechange_event
BOOL pending_readystatechange_event
Definition:
htmlscript.h:29
HTMLScriptElement::readystate
READYSTATE readystate
Definition:
htmlscript.h:30
HTMLScriptElement::IHTMLScriptElement_iface
IHTMLScriptElement IHTMLScriptElement_iface
Definition:
htmlscript.h:24
HTMLScriptElement::parsed
BOOL parsed
Definition:
htmlscript.h:27
HTMLScriptElement::element
HTMLElement element
Definition:
htmlscript.h:22
HTMLScriptElement::parse_on_bind
BOOL parse_on_bind
Definition:
htmlscript.h:28
HTMLScriptElement::nsscript
nsIDOMHTMLScriptElement * nsscript
Definition:
htmlscript.h:26
ScriptHost
Definition:
script.c:52
script_queue_entry_t
Definition:
htmlscript.h:33
script_queue_entry_t::script
HTMLScriptElement * script
Definition:
htmlscript.h:35
tagVARIANT
Definition:
compat.h:2378
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
dll
win32
mshtml
htmlscript.h
Generated on Sun Oct 13 2024 06:04:12 for ReactOS by
1.9.6