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
8b4b8798
Commit
8b4b8798
authored
May 16, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added default action implementation for IDocHostUIHandler::GetExternal.
parent
f7018111
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
2 deletions
+17
-2
Makefile.in
dlls/ieframe/Makefile.in
+1
-0
dochost.c
dlls/ieframe/dochost.c
+14
-2
ieframe.h
dlls/ieframe/ieframe.h
+2
-0
shelluihelper.c
dlls/ieframe/shelluihelper.c
+0
-0
No files found.
dlls/ieframe/Makefile.in
View file @
8b4b8798
...
...
@@ -17,6 +17,7 @@ C_SRCS = \
oleobject.c
\
persist.c
\
shellbrowser.c
\
shelluihelper.c
\
taskbarlist.c
\
urlhist.c
\
view.c
\
...
...
dlls/ieframe/dochost.c
View file @
8b4b8798
...
...
@@ -777,8 +777,17 @@ static HRESULT WINAPI DocHostUIHandler_GetExternal(IDocHostUIHandler2 *iface,
if
(
This
->
hostui
)
return
IDocHostUIHandler_GetExternal
(
This
->
hostui
,
ppDispatch
);
FIXME
(
"default action not implemented
\n
"
);
return
E_NOTIMPL
;
if
(
!
This
->
shell_ui_helper
)
{
HRESULT
hres
;
hres
=
create_shell_ui_helper
(
&
This
->
shell_ui_helper
);
if
(
FAILED
(
hres
))
return
hres
;
}
*
ppDispatch
=
(
IDispatch
*
)
This
->
shell_ui_helper
;
IDispatch_AddRef
(
*
ppDispatch
);
return
S_OK
;
}
static
HRESULT
WINAPI
DocHostUIHandler_TranslateUrl
(
IDocHostUIHandler2
*
iface
,
...
...
@@ -938,6 +947,9 @@ void DocHost_Init(DocHost *This, IWebBrowser2 *wb, const IDocHostContainerVtbl*
void
DocHost_Release
(
DocHost
*
This
)
{
if
(
This
->
shell_ui_helper
)
IShellUIHelper2_Release
(
This
->
shell_ui_helper
);
abort_dochost_tasks
(
This
,
NULL
);
release_dochost_client
(
This
);
DocHost_ClientSite_Release
(
This
);
...
...
dlls/ieframe/ieframe.h
View file @
8b4b8798
...
...
@@ -151,6 +151,7 @@ struct DocHost {
BOOL
is_prop_notif
;
ShellBrowser
*
browser_service
;
IShellUIHelper2
*
shell_ui_helper
;
travellog_entry_t
*
travellog
;
unsigned
travellog_size
;
...
...
@@ -255,6 +256,7 @@ BOOL HlinkFrame_QI(HlinkFrame*,REFIID,void**) DECLSPEC_HIDDEN;
HRESULT
create_browser_service
(
DocHost
*
,
ShellBrowser
**
)
DECLSPEC_HIDDEN
;
void
detach_browser_service
(
ShellBrowser
*
)
DECLSPEC_HIDDEN
;
HRESULT
create_shell_ui_helper
(
IShellUIHelper2
**
)
DECLSPEC_HIDDEN
;
void
ConnectionPointContainer_Init
(
ConnectionPointContainer
*
,
IUnknown
*
)
DECLSPEC_HIDDEN
;
void
ConnectionPointContainer_Destroy
(
ConnectionPointContainer
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/ieframe/shelluihelper.c
0 → 100644
View file @
8b4b8798
This diff is collapsed.
Click to expand it.
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