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
398161dc
Commit
398161dc
authored
Jan 28, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added textarea element IDispatchEx support.
parent
fe3e19c8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmltextarea.c
dlls/mshtml/htmltextarea.c
+14
-1
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 @
398161dc
...
...
@@ -105,6 +105,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLStyle
,
&
DIID_DispHTMLTable
,
&
DIID_DispHTMLTableRow
,
&
DIID_DispHTMLTextAreaElement
,
&
DIID_DispHTMLUnknownElement
,
&
DIID_DispHTMLWindow2
,
&
DIID_HTMLDocumentEvents
,
...
...
@@ -151,6 +152,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLStyle4
,
&
IID_IHTMLTable
,
&
IID_IHTMLTableRow
,
&
IID_IHTMLTextAreaElement
,
&
IID_IHTMLTextContainer
,
&
IID_IHTMLUniqueName
,
&
IID_IHTMLWindow2
,
...
...
dlls/mshtml/htmltextarea.c
View file @
398161dc
...
...
@@ -411,6 +411,19 @@ static const NodeImplVtbl HTMLTextAreaElementImplVtbl = {
HTMLTextAreaElementImpl_get_disabled
};
static
const
tid_t
HTMLTextAreaElement_iface_tids
[]
=
{
HTMLELEMENT_TIDS
,
IHTMLTextAreaElement_tid
,
0
};
static
dispex_static_data_t
HTMLTextAreaElement_dispex
=
{
NULL
,
DispHTMLTextAreaElement_tid
,
NULL
,
HTMLTextAreaElement_iface_tids
};
HTMLElement
*
HTMLTextAreaElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
)
{
HTMLTextAreaElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLTextAreaElement
));
...
...
@@ -419,7 +432,7 @@ HTMLElement *HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement
ret
->
lpHTMLTextAreaElementVtbl
=
&
HTMLTextAreaElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLTextAreaElementImplVtbl
;
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
NULL
);
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
&
HTMLTextAreaElement_dispex
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLTextAreaElement
,
(
void
**
)
&
ret
->
nstextarea
);
...
...
dlls/mshtml/mshtml_private.h
View file @
398161dc
...
...
@@ -81,6 +81,7 @@ typedef enum {
DispHTMLStyle_tid
,
DispHTMLTable_tid
,
DispHTMLTableRow_tid
,
DispHTMLTextAreaElement_tid
,
DispHTMLUnknownElement_tid
,
DispHTMLWindow2_tid
,
HTMLDocumentEvents_tid
,
...
...
@@ -127,6 +128,7 @@ typedef enum {
IHTMLStyle4_tid
,
IHTMLTable_tid
,
IHTMLTableRow_tid
,
IHTMLTextAreaElement_tid
,
IHTMLTextContainer_tid
,
IHTMLUniqueName_tid
,
IHTMLWindow2_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
398161dc
...
...
@@ -404,7 +404,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"A"
,
anchor_iids
,
&
DIID_DispHTMLAnchorElement
},
{
"INPUT"
,
input_iids
,
&
DIID_DispHTMLInputElement
},
{
"SELECT"
,
select_iids
,
&
DIID_DispHTMLSelectElement
},
{
"TEXTAREA"
,
textarea_iids
,
NULL
},
{
"TEXTAREA"
,
textarea_iids
,
&
DIID_DispHTMLTextAreaElement
},
{
"OPTION"
,
option_iids
,
&
DIID_DispHTMLOptionElement
},
{
"STYLE"
,
elem_iids
,
NULL
},
{
"BLOCKQUOTE"
,
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