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
ea364136
Commit
ea364136
authored
Sep 30, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLTableRow.
parent
31ae8023
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmltablerow.c
dlls/mshtml/htmltablerow.c
+19
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
dom.c
dlls/mshtml/tests/dom.c
+1
-1
No files found.
dlls/mshtml/dispex.c
View file @
ea364136
...
...
@@ -77,6 +77,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLSelectElement
,
&
DIID_DispHTMLStyle
,
&
DIID_DispHTMLTableRow
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
&
IID_IHTMLBodyElement
,
...
...
@@ -102,6 +103,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLOptionElement
,
&
IID_IHTMLSelectElement
,
&
IID_IHTMLStyle
,
&
IID_IHTMLTableRow
,
&
IID_IHTMLTextContainer
,
&
IID_IHTMLUniqueName
,
&
IID_IHTMLWindow2
,
...
...
dlls/mshtml/htmltablerow.c
View file @
ea364136
...
...
@@ -281,14 +281,31 @@ static const NodeImplVtbl HTMLTableRowImplVtbl = {
HTMLTableRow_destructor
};
static
const
tid_t
HTMLTableRow_iface_tids
[]
=
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLTableRow_tid
,
0
};
static
dispex_static_data_t
HTMLTableRow_dispex
=
{
NULL
,
DispHTMLTableRow_tid
,
NULL
,
HTMLTableRow_iface_tids
};
HTMLElement
*
HTMLTableRow_Create
(
nsIDOMHTMLElement
*
nselem
)
{
HTMLTableRow
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLTableRow
));
HTMLElement_Init
(
&
ret
->
element
);
ret
->
lpHTMLTableRowVtbl
=
&
HTMLTableRowVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLTableRowImplVtbl
;
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLTABLEROW
(
ret
),
&
HTMLTableRow_dispex
);
HTMLElement_Init
(
&
ret
->
element
);
return
&
ret
->
element
;
}
dlls/mshtml/mshtml_private.h
View file @
ea364136
...
...
@@ -73,6 +73,7 @@ typedef enum {
DispHTMLOptionElement_tid
,
DispHTMLSelectElement_tid
,
DispHTMLStyle_tid
,
DispHTMLTableRow_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
IHTMLBodyElement_tid
,
...
...
@@ -98,6 +99,7 @@ typedef enum {
IHTMLOptionElement_tid
,
IHTMLSelectElement_tid
,
IHTMLStyle_tid
,
IHTMLTableRow_tid
,
IHTMLTextContainer_tid
,
IHTMLUniqueName_tid
,
IHTMLWindow2_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
ea364136
...
...
@@ -286,7 +286,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"TEST"
,
generic_iids
,
&
DIID_DispHTMLGenericElement
},
{
"!"
,
comment_iids
,
&
DIID_DispHTMLCommentElement
},
{
"IMG"
,
img_iids
,
&
DIID_DispHTMLImg
},
{
"TR"
,
tr_iids
,
NULL
}
{
"TR"
,
tr_iids
,
&
DIID_DispHTMLTableRow
}
};
static
const
char
*
dbgstr_w
(
LPCWSTR
str
)
...
...
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