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
712c4d9a
Commit
712c4d9a
authored
Oct 07, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support for HTMLIFrame.
parent
2e52c61c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmliframe.c
dlls/mshtml/htmliframe.c
+18
-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 @
712c4d9a
...
...
@@ -73,6 +73,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLDOMTextNode
,
&
DIID_DispHTMLElementCollection
,
&
DIID_DispHTMLGenericElement
,
&
DIID_DispHTMLIFrame
,
&
DIID_DispHTMLImg
,
&
DIID_DispHTMLInputElement
,
&
DIID_DispHTMLOptionElement
,
...
...
@@ -99,6 +100,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLElement3
,
&
IID_IHTMLElement4
,
&
IID_IHTMLElementCollection
,
&
IID_IHTMLFrameBase2
,
&
IID_IHTMLGenericElement
,
&
IID_IHTMLImgElement
,
&
IID_IHTMLInputElement
,
...
...
dlls/mshtml/htmliframe.c
View file @
712c4d9a
...
...
@@ -209,6 +209,23 @@ static const NodeImplVtbl HTMLIFrameImplVtbl = {
HTMLIFrame_destructor
};
static
const
tid_t
HTMLIFrame_iface_tids
[]
=
{
IHTMLDOMNode_tid
,
IHTMLDOMNode2_tid
,
IHTMLElement_tid
,
IHTMLElement2_tid
,
IHTMLElement3_tid
,
IHTMLFrameBase2_tid
,
0
};
static
dispex_static_data_t
HTMLIFrame_dispex
=
{
NULL
,
DispHTMLIFrame_tid
,
NULL
,
HTMLIFrame_iface_tids
};
HTMLElement
*
HTMLIFrame_Create
(
nsIDOMHTMLElement
*
nselem
)
{
HTMLIFrame
*
ret
;
...
...
@@ -219,6 +236,7 @@ HTMLElement *HTMLIFrame_Create(nsIDOMHTMLElement *nselem)
ret
->
lpIHTMLFrameBase2Vtbl
=
&
HTMLIFrameBase2Vtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLIFrameImplVtbl
;
init_dispex
(
&
ret
->
element
.
node
.
dispex
,
(
IUnknown
*
)
HTMLFRAMEBASE2
(
ret
),
&
HTMLIFrame_dispex
);
HTMLElement_Init
(
&
ret
->
element
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLIFrameElement
,
(
void
**
)
&
ret
->
nsiframe
);
...
...
dlls/mshtml/mshtml_private.h
View file @
712c4d9a
...
...
@@ -69,6 +69,7 @@ typedef enum {
DispHTMLDOMTextNode_tid
,
DispHTMLElementCollection_tid
,
DispHTMLGenericElement_tid
,
DispHTMLIFrame_tid
,
DispHTMLImg_tid
,
DispHTMLInputElement_tid
,
DispHTMLOptionElement_tid
,
...
...
@@ -95,6 +96,7 @@ typedef enum {
IHTMLElement3_tid
,
IHTMLElement4_tid
,
IHTMLElementCollection_tid
,
IHTMLFrameBase2_tid
,
IHTMLGenericElement_tid
,
IHTMLImgElement_tid
,
IHTMLInputElement_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
712c4d9a
...
...
@@ -344,7 +344,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"IMG"
,
img_iids
,
&
DIID_DispHTMLImg
},
{
"TR"
,
tr_iids
,
&
DIID_DispHTMLTableRow
},
{
"TD"
,
td_iids
,
NULL
},
{
"IFRAME"
,
iframe_iids
,
NULL
}
{
"IFRAME"
,
iframe_iids
,
&
DIID_DispHTMLIFrame
}
};
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