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
cb99f716
Commit
cb99f716
authored
Nov 14, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use custom get_readyState implementations for object and frame elements.
parent
f351dc5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
htmlframe.c
dlls/mshtml/htmlframe.c
+8
-1
htmlobject.c
dlls/mshtml/htmlobject.c
+15
-2
No files found.
dlls/mshtml/htmlframe.c
View file @
cb99f716
...
...
@@ -211,6 +211,13 @@ static HRESULT HTMLFrameElement_get_document(HTMLDOMNode *iface, IDispatch **p)
return
S_OK
;
}
static
HRESULT
HTMLFrameElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
HTMLFrameElement
*
This
=
HTMLFRAME_NODE_THIS
(
iface
);
return
IHTMLFrameBase2_get_readyState
(
HTMLFRAMEBASE2
(
&
This
->
framebase
),
p
);
}
static
HRESULT
HTMLFrameElement_get_dispid
(
HTMLDOMNode
*
iface
,
BSTR
name
,
DWORD
grfdex
,
DISPID
*
pid
)
{
...
...
@@ -264,7 +271,7 @@ static const NodeImplVtbl HTMLFrameElementImplVtbl = {
NULL
,
NULL
,
HTMLFrameElement_get_document
,
NULL
,
HTMLFrameElement_get_readystate
,
HTMLFrameElement_get_dispid
,
HTMLFrameElement_invoke
,
HTMLFrameElement_bind_to_tree
...
...
dlls/mshtml/htmlobject.c
View file @
cb99f716
...
...
@@ -40,7 +40,7 @@ typedef struct {
nsIDOMHTMLObjectElement
*
nsobject
;
}
HTMLObjectElement
;
#define HTMLOBJECT(x) (&(x)->lpIHTMLObjectElementVtbl)
#define HTMLOBJECT(x) (
(IHTMLObjectElement*)
&(x)->lpIHTMLObjectElementVtbl)
#define HTMLOBJECT_THIS(iface) DEFINE_THIS(HTMLObjectElement, IHTMLObjectElement, iface)
...
...
@@ -424,12 +424,25 @@ static void HTMLObjectElement_destructor(HTMLDOMNode *iface)
HTMLElement_destructor
(
&
This
->
element
.
node
);
}
static
HRESULT
HTMLObjectElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
HTMLObjectElement
*
This
=
HTMLOBJECT_NODE_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
#undef HTMLOBJECT_NODE_THIS
static
const
NodeImplVtbl
HTMLObjectElementImplVtbl
=
{
HTMLObjectElement_QI
,
HTMLObjectElement_destructor
,
HTMLElement_clone
HTMLElement_clone
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
HTMLObjectElement_get_readystate
};
static
const
tid_t
HTMLObjectElement_iface_tids
[]
=
{
...
...
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