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
72060f04
Commit
72060f04
authored
Sep 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added better GoHome stub implementation.
parent
c6f8b270
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
ie.c
dlls/shdocvw/ie.c
+2
-2
navigate.c
dlls/shdocvw/navigate.c
+9
-0
shdocvw.h
dlls/shdocvw/shdocvw.h
+1
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+2
-2
No files found.
dlls/shdocvw/ie.c
View file @
72060f04
...
...
@@ -134,8 +134,8 @@ static HRESULT WINAPI InternetExplorer_GoForward(IWebBrowser2 *iface)
static
HRESULT
WINAPI
InternetExplorer_GoHome
(
IWebBrowser2
*
iface
)
{
InternetExplorer
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXM
E
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRAC
E
(
"(%p)
\n
"
,
This
);
return
go_home
(
&
This
->
doc_host
)
;
}
static
HRESULT
WINAPI
InternetExplorer_GoSearch
(
IWebBrowser2
*
iface
)
...
...
dlls/shdocvw/navigate.c
View file @
72060f04
...
...
@@ -610,6 +610,15 @@ static HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx,
return
navigate
(
This
,
mon
,
bindctx
);
}
HRESULT
go_home
(
DocHost
*
This
)
{
static
const
WCHAR
wszAboutBlank
[]
=
{
'a'
,
'b'
,
'o'
,
'u'
,
't'
,
':'
,
'b'
,
'l'
,
'a'
,
'n'
,
'k'
,
0
};
FIXME
(
"stub
\n
"
);
return
navigate_url
(
This
,
wszAboutBlank
,
NULL
,
NULL
,
NULL
,
NULL
);
}
#define HLINKFRAME_THIS(iface) DEFINE_THIS(WebBrowser, HlinkFrame, iface)
static
HRESULT
WINAPI
HlinkFrame_QueryInterface
(
IHlinkFrame
*
iface
,
REFIID
riid
,
void
**
ppv
)
...
...
dlls/shdocvw/shdocvw.h
View file @
72060f04
...
...
@@ -195,6 +195,7 @@ void create_doc_view_hwnd(DocHost*);
void
deactivate_document
(
DocHost
*
);
void
call_sink
(
ConnectionPoint
*
,
DISPID
,
DISPPARAMS
*
);
HRESULT
navigate_url
(
DocHost
*
,
LPCWSTR
,
const
VARIANT
*
,
const
VARIANT
*
,
VARIANT
*
,
VARIANT
*
);
HRESULT
go_home
(
DocHost
*
);
HRESULT
InternetExplorer_Create
(
IUnknown
*
,
REFIID
,
void
**
);
void
InternetExplorer_WebBrowser_Init
(
InternetExplorer
*
);
...
...
dlls/shdocvw/webbrowser.c
View file @
72060f04
...
...
@@ -210,8 +210,8 @@ static HRESULT WINAPI WebBrowser_GoForward(IWebBrowser2 *iface)
static
HRESULT
WINAPI
WebBrowser_GoHome
(
IWebBrowser2
*
iface
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXM
E
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRAC
E
(
"(%p)
\n
"
,
This
);
return
go_home
(
&
This
->
doc_host
)
;
}
static
HRESULT
WINAPI
WebBrowser_GoSearch
(
IWebBrowser2
*
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