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
73a15436
Commit
73a15436
authored
Oct 27, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLObjectElement object.
parent
8d11858e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
+18
-2
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmlobject.c
dlls/mshtml/htmlobject.c
+13
-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 @
73a15436
...
...
@@ -101,6 +101,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLLocation
,
&
DIID_DispHTMLNavigator
,
&
DIID_DispHTMLObjectElement
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLScreen
,
&
DIID_DispHTMLScriptElement
,
...
...
@@ -145,6 +146,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLImgElement
,
&
IID_IHTMLInputElement
,
&
IID_IHTMLLocation
,
&
IID_IHTMLObjectElement
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLRect
,
&
IID_IHTMLScreen
,
...
...
dlls/mshtml/htmlobject.c
View file @
73a15436
...
...
@@ -415,6 +415,18 @@ static const NodeImplVtbl HTMLObjectElementImplVtbl = {
HTMLObjectElement_destructor
};
static
const
tid_t
HTMLObjectElement_iface_tids
[]
=
{
HTMLELEMENT_TIDS
,
IHTMLObjectElement_tid
,
0
};
static
dispex_static_data_t
HTMLObjectElement_dispex
=
{
NULL
,
DispHTMLObjectElement_tid
,
NULL
,
HTMLObjectElement_iface_tids
};
HTMLElement
*
HTMLObjectElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
)
{
HTMLObjectElement
*
ret
=
heap_alloc_zero
(
sizeof
(
*
ret
));
...
...
@@ -422,6 +434,6 @@ HTMLElement *HTMLObjectElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *
ret
->
lpIHTMLObjectElementVtbl
=
&
HTMLObjectElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLObjectElementImplVtbl
;
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
NULL
);
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
&
HTMLObjectElement_dispex
);
return
&
ret
->
element
;
}
dlls/mshtml/mshtml_private.h
View file @
73a15436
...
...
@@ -83,6 +83,7 @@ typedef enum {
DispHTMLInputElement_tid
,
DispHTMLLocation_tid
,
DispHTMLNavigator_tid
,
DispHTMLObjectElement_tid
,
DispHTMLOptionElement_tid
,
DispHTMLScreen_tid
,
DispHTMLScriptElement_tid
,
...
...
@@ -127,6 +128,7 @@ typedef enum {
IHTMLImgElement_tid
,
IHTMLInputElement_tid
,
IHTMLLocation_tid
,
IHTMLObjectElement_tid
,
IHTMLOptionElement_tid
,
IHTMLRect_tid
,
IHTMLScreen_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
73a15436
...
...
@@ -435,7 +435,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"IFRAME"
,
iframe_iids
,
&
DIID_DispHTMLIFrame
},
{
"FORM"
,
form_iids
,
&
DIID_DispHTMLFormElement
},
{
"FRAME"
,
frame_iids
,
&
DIID_DispHTMLFrameElement
},
{
"OBJECT"
,
object_iids
,
NULL
}
{
"OBJECT"
,
object_iids
,
&
DIID_DispHTMLObjectElement
}
};
static
const
char
*
dbgstr_guid
(
REFIID
riid
)
...
...
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