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
7bbe0d5c
Commit
7bbe0d5c
authored
Jan 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Open document in a new window in IHlinkTarget::Navigate if the document is not embedded.
parent
dc5a75a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
hlink.c
dlls/mshtml/hlink.c
+4
-0
navigate.c
dlls/mshtml/navigate.c
+4
-1
No files found.
dlls/mshtml/hlink.c
View file @
7bbe0d5c
...
...
@@ -28,6 +28,7 @@
#include "wine/debug.h"
#include "mshtml_private.h"
#include "binding.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
...
...
@@ -83,6 +84,9 @@ static HRESULT WINAPI HlinkTarget_Navigate(IHlinkTarget *iface, DWORD grfHLNF, L
if
(
pwzJumpLocation
)
FIXME
(
"JumpLocation not supported
\n
"
);
if
(
!
This
->
doc_obj
->
client
)
return
navigate_new_window
(
This
->
window
,
This
->
window
->
uri
,
NULL
,
NULL
);
return
IOleObject_DoVerb
(
&
This
->
IOleObject_iface
,
OLEIVERB_SHOW
,
NULL
,
NULL
,
-
1
,
NULL
,
NULL
);
}
...
...
dlls/mshtml/navigate.c
View file @
7bbe0d5c
...
...
@@ -2030,7 +2030,10 @@ HRESULT navigate_new_window(HTMLWindow *window, IUri *uri, const WCHAR *name, IH
IWebBrowser2_put_Visible
(
web_browser
,
VARIANT_TRUE
);
IWebBrowser2_Release
(
web_browser
);
*
ret
=
new_window
;
if
(
ret
)
*
ret
=
new_window
;
else
IHTMLWindow2_Release
(
new_window
);
return
S_OK
;
}
...
...
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