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
928914c8
Commit
928914c8
authored
Apr 29, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLOptionElement.
parent
7582518e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmloption.c
dlls/mshtml/htmloption.c
+16
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
dom.c
dlls/mshtml/tests/dom.c
+2
-2
No files found.
dlls/mshtml/dispex.c
View file @
928914c8
...
...
@@ -55,6 +55,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLElementCollection
,
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
&
IID_IHTMLDocument2
,
...
...
@@ -68,6 +69,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLElement2
,
&
IID_IHTMLElementCollection
,
&
IID_IHTMLInputElement
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLWindow2
,
&
IID_IHTMLWindow3
,
&
IID_IOmNavigator
...
...
dlls/mshtml/htmloption.c
View file @
928914c8
...
...
@@ -331,6 +331,20 @@ static const NodeImplVtbl HTMLOptionElementImplVtbl = {
HTMLOptionElement_destructor
};
static
dispex_static_data_t
HTMLOptionElement_dispex
=
{
NULL
,
DispHTMLOptionElement_tid
,
NULL
,
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLOptionElement_tid
,
0
}
};
HTMLElement
*
HTMLOptionElement_Create
(
nsIDOMHTMLElement
*
nselem
)
{
HTMLOptionElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLOptionElement
));
...
...
@@ -345,6 +359,8 @@ HTMLElement *HTMLOptionElement_Create(nsIDOMHTMLElement *nselem)
if
(
NS_FAILED
(
nsres
))
ERR
(
"Could not get nsIDOMHTMLOptionElement interface: %08x
\n
"
,
nsres
);
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLOPTION
(
ret
),
&
HTMLOptionElement_dispex
);
return
&
ret
->
element
;
}
...
...
dlls/mshtml/mshtml_private.h
View file @
928914c8
...
...
@@ -65,6 +65,7 @@ typedef enum {
DispHTMLDOMTextNode_tid
,
DispHTMLElementCollection_tid
,
DispHTMLInputElement_tid
,
DispHTMLOptionElement_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
IHTMLDocument2_tid
,
...
...
@@ -78,6 +79,7 @@ typedef enum {
IHTMLElement2_tid
,
IHTMLElementCollection_tid
,
IHTMLInputElement_tid
,
IHTMLOptionElement_tid
,
IHTMLWindow2_tid
,
IHTMLWindow3_tid
,
IOmNavigator_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
928914c8
...
...
@@ -221,10 +221,10 @@ static const elem_type_info_t elem_type_infos[] = {
{
"TITLE"
,
elem_iids
,
NULL
},
{
"BODY"
,
body_iids
,
NULL
},
{
"A"
,
anchor_iids
,
NULL
},
{
"INPUT"
,
input_iids
,
NULL
},
{
"INPUT"
,
input_iids
,
&
DIID_DispHTMLInputElement
},
{
"SELECT"
,
select_iids
,
NULL
},
{
"TEXTAREA"
,
textarea_iids
,
NULL
},
{
"OPTION"
,
option_iids
,
NULL
},
{
"OPTION"
,
option_iids
,
&
DIID_DispHTMLOptionElement
},
{
"STYLE"
,
elem_iids
,
NULL
},
{
"BLOCKQUOTE"
,
elem_iids
,
NULL
},
{
"P"
,
elem_iids
,
NULL
},
...
...
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