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
7977a6bd
Commit
7977a6bd
authored
Sep 18, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Sep 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move some ObjectElement methods up.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
3ed71ab5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
34 deletions
+33
-34
htmlobject.c
dlls/mshtml/htmlobject.c
+33
-34
No files found.
dlls/mshtml/htmlobject.c
View file @
7977a6bd
...
...
@@ -637,6 +637,18 @@ static inline HTMLObjectElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
return
CONTAINING_RECORD
(
iface
,
HTMLObjectElement
,
plugin_container
.
element
.
node
);
}
static
HRESULT
HTMLObjectElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
inline
HTMLObjectElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLObjectElement
,
plugin_container
.
element
.
node
.
event_target
.
dispex
);
}
static
void
*
HTMLObjectElement_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -676,6 +688,22 @@ static void *HTMLObjectElement_QI(HTMLDOMNode *iface, REFIID riid)
return
elem_iface
;
}
static
void
HTMLObjectElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLObjectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsobject
)
note_cc_edge
((
nsISupports
*
)
This
->
nsobject
,
"nsobject"
,
cb
);
}
static
void
HTMLObjectElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLObjectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsobject
);
}
static
void
HTMLObjectElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -686,21 +714,13 @@ static void HTMLObjectElement_destructor(HTMLDOMNode *iface)
HTMLElement_destructor
(
&
This
->
plugin_container
.
element
.
node
);
}
static
HRESULT
HTMLObjectElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
HTMLObjectElement_get_dispid
(
HTMLDOMNode
*
iface
,
BSTR
name
,
DWORD
grfdex
,
DISPID
*
pid
)
static
HRESULT
HTMLObjectElement_get_dispid
(
HTMLDOMNode
*
iface
,
BSTR
name
,
DWORD
grfdex
,
DISPID
*
dispid
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
TRACE
(
"(%p)->(%s %lx %p)
\n
"
,
This
,
debugstr_w
(
name
),
grfdex
,
pid
);
TRACE
(
"(%p)->(%s %lx %p)
\n
"
,
This
,
debugstr_w
(
name
),
grfdex
,
dis
pid
);
return
get_plugin_dispid
(
&
This
->
plugin_container
,
name
,
pid
);
return
get_plugin_dispid
(
&
This
->
plugin_container
,
name
,
dis
pid
);
}
static
HRESULT
HTMLObjectElement_dispex_get_name
(
HTMLDOMNode
*
iface
,
DISPID
id
,
BSTR
*
name
)
...
...
@@ -712,8 +732,8 @@ static HRESULT HTMLObjectElement_dispex_get_name(HTMLDOMNode *iface, DISPID id,
return
E_NOTIMPL
;
}
static
HRESULT
HTMLObjectElement_invoke
(
HTMLDOMNode
*
iface
,
DISPID
id
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
res
,
EXCEPINFO
*
ei
,
IServiceProvider
*
caller
)
static
HRESULT
HTMLObjectElement_invoke
(
HTMLDOMNode
*
iface
,
DISPID
id
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
res
,
EXCEPINFO
*
ei
,
IServiceProvider
*
caller
)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -722,27 +742,6 @@ static HRESULT HTMLObjectElement_invoke(HTMLDOMNode *iface, DISPID id, LCID lcid
return
invoke_plugin_prop
(
&
This
->
plugin_container
,
id
,
lcid
,
flags
,
params
,
res
,
ei
);
}
static
inline
HTMLObjectElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLObjectElement
,
plugin_container
.
element
.
node
.
event_target
.
dispex
);
}
static
void
HTMLObjectElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLObjectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsobject
)
note_cc_edge
((
nsISupports
*
)
This
->
nsobject
,
"nsobject"
,
cb
);
}
static
void
HTMLObjectElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLObjectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsobject
);
}
static
const
NodeImplVtbl
HTMLObjectElementImplVtbl
=
{
.
clsid
=
&
CLSID_HTMLObjectElement
,
.
qi
=
HTMLObjectElement_QI
,
...
...
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