Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
af271b3b
Commit
af271b3b
authored
Apr 24, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to text node.
parent
754adce7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmltextnode.c
dlls/mshtml/htmltextnode.c
+13
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
dom.c
dlls/mshtml/tests/dom.c
+1
-0
No files found.
dlls/mshtml/dispex.c
View file @
af271b3b
...
...
@@ -52,6 +52,7 @@ static struct list dispex_data_list = LIST_INIT(dispex_data_list);
static
REFIID
tid_ids
[]
=
{
&
IID_NULL
,
&
DIID_DispHTMLDocument
,
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
&
IID_IHTMLDocument2
,
...
...
@@ -60,6 +61,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLDocument5
,
&
IID_IHTMLDOMNode
,
&
IID_IHTMLDOMNode2
,
&
IID_IHTMLDOMTextNode
,
&
IID_IHTMLElement
,
&
IID_IHTMLElement2
,
&
IID_IHTMLWindow2
,
...
...
dlls/mshtml/htmltextnode.c
View file @
af271b3b
...
...
@@ -185,6 +185,17 @@ static const NodeImplVtbl HTMLDOMTextNodeImplVtbl = {
HTMLDOMTextNode_destructor
};
static
dispex_static_data_t
HTMLDOMTextNode_dispex
=
{
DispHTMLDOMTextNode_tid
,
0
,
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLDOMTextNode_tid
,
0
}
};
HTMLDOMNode
*
HTMLDOMTextNode_Create
(
nsIDOMNode
*
nsnode
)
{
HTMLDOMTextNode
*
ret
;
...
...
@@ -193,5 +204,7 @@ HTMLDOMNode *HTMLDOMTextNode_Create(nsIDOMNode *nsnode)
ret
->
node
.
vtbl
=
&
HTMLDOMTextNodeImplVtbl
;
ret
->
lpIHTMLDOMTextNodeVtbl
=
&
HTMLDOMTextNodeVtbl
;
init_dispex
(
&
ret
->
node
.
dispex
,
(
IUnknown
*
)
HTMLTEXT
(
ret
),
&
HTMLDOMTextNode_dispex
);
return
&
ret
->
node
;
}
dlls/mshtml/mshtml_private.h
View file @
af271b3b
...
...
@@ -62,6 +62,7 @@ typedef struct event_target_t event_target_t;
typedef
enum
{
NULL_tid
,
DispHTMLDocument_tid
,
DispHTMLDOMTextNode_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
IHTMLDocument2_tid
,
...
...
@@ -70,6 +71,7 @@ typedef enum {
IHTMLDocument5_tid
,
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLDOMTextNode_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLWindow2_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
af271b3b
...
...
@@ -1511,6 +1511,7 @@ static void test_elems(IHTMLDocument2 *doc)
ok
(
node
!=
NULL
,
"node == NULL
\n
"
);
if
(
node
)
{
test_ifaces
((
IUnknown
*
)
node
,
text_iids
);
test_disp
((
IUnknown
*
)
node
,
&
DIID_DispHTMLDOMTextNode
);
node2
=
get_first_child
((
IUnknown
*
)
node
);
ok
(
!
node2
,
"node2 != NULL
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment