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
0227bf69
Commit
0227bf69
authored
Jun 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDispatchEx support to HTMLTitleElement object.
parent
ff7e0417
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
htmlhead.c
dlls/mshtml/htmlhead.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/htmlhead.c
View file @
0227bf69
...
...
@@ -158,6 +158,18 @@ static const NodeImplVtbl HTMLTitleElementImplVtbl = {
HTMLElement_clone
,
};
static
const
tid_t
HTMLTitleElement_iface_tids
[]
=
{
HTMLELEMENT_TIDS
,
IHTMLTitleElement_tid
,
0
};
static
dispex_static_data_t
HTMLTitleElement_dispex
=
{
NULL
,
DispHTMLTitleElement_tid
,
NULL
,
HTMLTitleElement_iface_tids
};
HRESULT
HTMLTitleElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
,
HTMLElement
**
elem
)
{
HTMLTitleElement
*
ret
;
...
...
@@ -169,7 +181,7 @@ HRESULT HTMLTitleElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem
ret
->
IHTMLTitleElement_iface
.
lpVtbl
=
&
HTMLTitleElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLTitleElementImplVtbl
;
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
NULL
);
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
&
HTMLTitleElement_dispex
);
*
elem
=
&
ret
->
element
;
return
S_OK
;
...
...
dlls/mshtml/mshtml_private.h
View file @
0227bf69
...
...
@@ -101,6 +101,7 @@ typedef struct event_target_t event_target_t;
XDIID(DispHTMLTable) \
XDIID(DispHTMLTableRow) \
XDIID(DispHTMLTextAreaElement) \
XDIID(DispHTMLTitleElement) \
XDIID(DispHTMLUnknownElement) \
XDIID(DispHTMLWindow2) \
XDIID(HTMLDocumentEvents) \
...
...
@@ -158,6 +159,7 @@ typedef struct event_target_t event_target_t;
XIID(IHTMLTableRow) \
XIID(IHTMLTextAreaElement) \
XIID(IHTMLTextContainer) \
XIID(IHTMLTitleElement) \
XIID(IHTMLUniqueName) \
XIID(IHTMLWindow2) \
XIID(IHTMLWindow3) \
...
...
dlls/mshtml/tests/dom.c
View file @
0227bf69
...
...
@@ -376,7 +376,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
""
,
none_iids
,
NULL
},
{
"HTML"
,
elem_iids
,
NULL
},
{
"HEAD"
,
head_iids
,
&
DIID_DispHTMLHeadElement
},
{
"TITLE"
,
title_iids
,
NULL
},
{
"TITLE"
,
title_iids
,
&
DIID_DispHTMLTitleElement
},
{
"BODY"
,
body_iids
,
&
DIID_DispHTMLBody
},
{
"A"
,
anchor_iids
,
&
DIID_DispHTMLAnchorElement
},
{
"INPUT"
,
input_iids
,
&
DIID_DispHTMLInputElement
},
...
...
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