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
807c716d
Commit
807c716d
authored
Dec 23, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIEmbeddingSiteWindow::GetDimensions implementation.
parent
0db8da70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
nsembed.c
dlls/mshtml/nsembed.c
+18
-2
No files found.
dlls/mshtml/nsembed.c
View file @
807c716d
...
...
@@ -1712,8 +1712,24 @@ static nsresult NSAPI nsEmbeddingSiteWindow_GetDimensions(nsIEmbeddingSiteWindow
UINT32
flags
,
LONG
*
x
,
LONG
*
y
,
LONG
*
cx
,
LONG
*
cy
)
{
NSContainer
*
This
=
impl_from_nsIEmbeddingSiteWindow
(
iface
);
WARN
(
"(%p)->(%08x %p %p %p %p)
\n
"
,
This
,
flags
,
x
,
y
,
cx
,
cy
);
return
NS_ERROR_NOT_IMPLEMENTED
;
RECT
r
;
TRACE
(
"(%p)->(%x %p %p %p %p)
\n
"
,
This
,
flags
,
x
,
y
,
cx
,
cy
);
if
(
!
GetWindowRect
(
This
->
hwnd
,
&
r
))
{
ERR
(
"GetWindowRect failed
\n
"
);
return
NS_ERROR_FAILURE
;
}
if
(
x
)
*
x
=
r
.
left
;
if
(
y
)
*
y
=
r
.
top
;
if
(
cx
)
*
cx
=
r
.
right
-
r
.
left
;
if
(
cy
)
*
cy
=
r
.
bottom
-
r
.
top
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsEmbeddingSiteWindow_SetFocus
(
nsIEmbeddingSiteWindow
*
iface
)
...
...
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