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
1741e652
Commit
1741e652
authored
Jun 18, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLSelectElement.
parent
148a7d50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmlselect.c
dlls/mshtml/htmlselect.c
+20
-3
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 @
1741e652
...
...
@@ -59,6 +59,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLImg
,
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLSelectElement
,
&
DIID_DispHTMLStyle
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
...
...
@@ -77,6 +78,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLImgElement
,
&
IID_IHTMLInputElement
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLSelectElement
,
&
IID_IHTMLStyle
,
&
IID_IHTMLWindow2
,
&
IID_IHTMLWindow3
,
...
...
dlls/mshtml/htmlselect.c
View file @
1741e652
...
...
@@ -420,16 +420,33 @@ static const NodeImplVtbl HTMLSelectElementImplVtbl = {
HTMLSelectElement_destructor
};
static
const
tid_t
HTMLSelectElement_tids
[]
=
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLSelectElement_tid
,
0
};
static
dispex_static_data_t
HTMLSelectElement_dispex
=
{
NULL
,
DispHTMLSelectElement_tid
,
NULL
,
HTMLSelectElement_tids
};
HTMLElement
*
HTMLSelectElement_Create
(
nsIDOMHTMLElement
*
nselem
)
{
HTMLSelectElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLSelectElement
));
nsresult
nsres
;
HTMLElement_Init
(
&
ret
->
element
);
ret
->
lpHTMLSelectElementVtbl
=
&
HTMLSelectElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLSelectElementImplVtbl
;
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLSELECT
(
ret
),
&
HTMLSelectElement_dispex
);
HTMLElement_Init
(
&
ret
->
element
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLSelectElement
,
(
void
**
)
&
ret
->
nsselect
);
if
(
NS_FAILED
(
nsres
))
...
...
dlls/mshtml/mshtml_private.h
View file @
1741e652
...
...
@@ -69,6 +69,7 @@ typedef enum {
DispHTMLImg_tid
,
DispHTMLInputElement_tid
,
DispHTMLOptionElement_tid
,
DispHTMLSelectElement_tid
,
DispHTMLStyle_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
...
...
@@ -87,6 +88,7 @@ typedef enum {
IHTMLImgElement_tid
,
IHTMLInputElement_tid
,
IHTMLOptionElement_tid
,
IHTMLSelectElement_tid
,
IHTMLStyle_tid
,
IHTMLWindow2_tid
,
IHTMLWindow3_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
1741e652
...
...
@@ -248,7 +248,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"BODY"
,
body_iids
,
NULL
},
{
"A"
,
anchor_iids
,
NULL
},
{
"INPUT"
,
input_iids
,
&
DIID_DispHTMLInputElement
},
{
"SELECT"
,
select_iids
,
NULL
},
{
"SELECT"
,
select_iids
,
&
DIID_DispHTMLSelectElement
},
{
"TEXTAREA"
,
textarea_iids
,
NULL
},
{
"OPTION"
,
option_iids
,
&
DIID_DispHTMLOptionElement
},
{
"STYLE"
,
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