Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cecb2652
Commit
cecb2652
authored
Apr 30, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
May 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLCommentElement.
parent
ac00714c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmlcomment.c
dlls/mshtml/htmlcomment.c
+11
-0
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 @
cecb2652
...
...
@@ -52,6 +52,7 @@ static struct list dispex_data_list = LIST_INIT(dispex_data_list);
static
REFIID
tid_ids
[]
=
{
&
IID_NULL
,
&
DIID_DispDOMChildrenCollection
,
&
DIID_DispHTMLCommentElement
,
&
DIID_DispHTMLDocument
,
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLElementCollection
,
...
...
@@ -59,6 +60,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
&
IID_IHTMLCommentElement
,
&
IID_IHTMLDocument2
,
&
IID_IHTMLDocument3
,
&
IID_IHTMLDocument4
,
...
...
dlls/mshtml/htmlcomment.c
View file @
cecb2652
...
...
@@ -175,6 +175,16 @@ static const NodeImplVtbl HTMLCommentElementImplVtbl = {
HTMLCommentElement_destructor
};
static
dispex_static_data_t
HTMLCommentElement_dispex
=
{
NULL
,
DispHTMLCommentElement_tid
,
NULL
,
{
IHTMLCommentElement_tid
,
0
}
};
HTMLElement
*
HTMLCommentElement_Create
(
nsIDOMNode
*
nsnode
)
{
HTMLCommentElement
*
ret
=
heap_alloc_zero
(
sizeof
(
*
ret
));
...
...
@@ -182,6 +192,7 @@ HTMLElement *HTMLCommentElement_Create(nsIDOMNode *nsnode)
ret
->
element
.
node
.
vtbl
=
&
HTMLCommentElementImplVtbl
;
ret
->
lpIHTMLCommentElementVtbl
=
&
HTMLCommentElementVtbl
;
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLCOMMENT
(
ret
),
&
HTMLCommentElement_dispex
);
HTMLElement_Init
(
&
ret
->
element
);
return
&
ret
->
element
;
...
...
dlls/mshtml/mshtml_private.h
View file @
cecb2652
...
...
@@ -62,6 +62,7 @@ typedef struct event_target_t event_target_t;
typedef
enum
{
NULL_tid
,
DispDOMChildrenCollection_tid
,
DispHTMLCommentElement_tid
,
DispHTMLDocument_tid
,
DispHTMLDOMTextNode_tid
,
DispHTMLElementCollection_tid
,
...
...
@@ -69,6 +70,7 @@ typedef enum {
DispHTMLOptionElement_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
IHTMLCommentElement_tid
,
IHTMLDocument2_tid
,
IHTMLDocument3_tid
,
IHTMLDocument4_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
cecb2652
...
...
@@ -246,7 +246,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"TBODY"
,
elem_iids
,
NULL
},
{
"SCRIPT"
,
script_iids
,
NULL
},
{
"TEST"
,
elem_iids
,
&
DIID_DispHTMLUnknownElement
},
{
"!"
,
comment_iids
,
NULL
}
{
"!"
,
comment_iids
,
&
DIID_DispHTMLCommentElement
}
};
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