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
127df702
Commit
127df702
authored
May 18, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
May 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow7::innerWidth and innerHeight implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3c6a5a71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
htmlwindow.c
dlls/mshtml/htmlwindow.c
+26
-4
No files found.
dlls/mshtml/htmlwindow.c
View file @
127df702
...
...
@@ -2330,15 +2330,37 @@ static HRESULT WINAPI HTMLWindow7_get_performance(IHTMLWindow7 *iface, VARIANT *
static
HRESULT
WINAPI
HTMLWindow7_get_innerWidth
(
IHTMLWindow7
*
iface
,
LONG
*
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow7
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
ret
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMWindow_GetInnerWidth
(
This
->
outer_window
->
nswindow
,
&
ret
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetInnerWidth failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
ret
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLWindow7_get_innerHeight
(
IHTMLWindow7
*
iface
,
LONG
*
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow7
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
ret
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMWindow_GetInnerHeight
(
This
->
outer_window
->
nswindow
,
&
ret
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetInnerWidth failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
ret
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLWindow7_get_pageXOffset
(
IHTMLWindow7
*
iface
,
LONG
*
p
)
...
...
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