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
073a48ab
Commit
073a48ab
authored
Dec 13, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added PluginHost::GetWindowContext implementation.
parent
52cc865c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
2 deletions
+39
-2
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
ipwindow.c
dlls/mshtml/ipwindow.c
+0
-0
pluginhost.c
dlls/mshtml/pluginhost.c
+35
-2
pluginhost.h
dlls/mshtml/pluginhost.h
+3
-0
No files found.
dlls/mshtml/Makefile.in
View file @
073a48ab
...
...
@@ -47,6 +47,7 @@ C_SRCS = \
htmltextcont.c
\
htmltextnode.c
\
htmlwindow.c
\
ipwindow.c
\
loadopts.c
\
main.c
\
mutation.c
\
...
...
dlls/mshtml/ipwindow.c
0 → 100644
View file @
073a48ab
This diff is collapsed.
Click to expand it.
dlls/mshtml/pluginhost.c
View file @
073a48ab
...
...
@@ -639,8 +639,41 @@ static HRESULT WINAPI PHInPlaceSite_GetWindowContext(IOleInPlaceSiteEx *iface,
RECT
*
lprcClipRect
,
OLEINPLACEFRAMEINFO
*
frame_info
)
{
PluginHost
*
This
=
impl_from_IOleInPlaceSiteEx
(
iface
);
FIXME
(
"(%p)->(%p %p %p %p %p)
\n
"
,
This
,
ppFrame
,
ppDoc
,
lprcPosRect
,
lprcClipRect
,
frame_info
);
return
E_NOTIMPL
;
IOleInPlaceUIWindow
*
ip_window
;
IOleInPlaceFrame
*
ip_frame
;
RECT
pr
,
cr
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p %p %p %p %p)
\n
"
,
This
,
ppFrame
,
ppDoc
,
lprcPosRect
,
lprcClipRect
,
frame_info
);
if
(
!
This
->
doc
||
!
This
->
doc
->
basedoc
.
doc_obj
||
!
This
->
doc
->
basedoc
.
doc_obj
->
ipsite
)
{
FIXME
(
"No ipsite
\n
"
);
return
E_UNEXPECTED
;
}
hres
=
IOleInPlaceSite_GetWindowContext
(
This
->
doc
->
basedoc
.
doc_obj
->
ipsite
,
&
ip_frame
,
&
ip_window
,
&
pr
,
&
cr
,
frame_info
);
if
(
FAILED
(
hres
))
{
WARN
(
"GetWindowContext failed: %08x
\n
"
,
hres
);
return
hres
;
}
if
(
ip_window
)
IOleInPlaceUIWindow_Release
(
ip_window
);
if
(
ip_frame
)
IOleInPlaceFrame_Release
(
ip_frame
);
hres
=
create_ip_frame
(
&
ip_frame
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
create_ip_window
(
ppDoc
);
if
(
FAILED
(
hres
))
return
hres
;
*
ppFrame
=
ip_frame
;
*
lprcPosRect
=
This
->
rect
;
*
lprcClipRect
=
This
->
rect
;
return
S_OK
;
}
static
HRESULT
WINAPI
PHInPlaceSite_Scroll
(
IOleInPlaceSiteEx
*
iface
,
SIZE
scrollExtent
)
...
...
dlls/mshtml/pluginhost.h
View file @
073a48ab
...
...
@@ -55,3 +55,6 @@ void update_plugin_window(PluginHost*,HWND,const RECT*);
void
detach_plugin_host
(
PluginHost
*
);
HRESULT
create_param_prop_bag
(
nsIDOMHTMLElement
*
,
IPropertyBag
**
);
HRESULT
create_ip_window
(
IOleInPlaceUIWindow
**
);
HRESULT
create_ip_frame
(
IOleInPlaceFrame
**
);
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