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
3c1e2132
Commit
3c1e2132
authored
May 30, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added support for BSCallback::QueryService(IID_IWindowForBindingUI).
parent
cf9d0d32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
navigate.c
dlls/mshtml/navigate.c
+10
-1
No files found.
dlls/mshtml/navigate.c
View file @
3c1e2132
...
...
@@ -582,7 +582,11 @@ static HRESULT WINAPI BSCServiceProvider_QueryService(IServiceProvider *iface,
REFGUID
guidService
,
REFIID
riid
,
void
**
ppv
)
{
BSCallback
*
This
=
impl_from_IServiceProvider
(
iface
);
TRACE
(
"(%p)->(%s %s %p)
\n
"
,
This
,
debugstr_guid
(
guidService
),
debugstr_guid
(
riid
),
ppv
);
if
(
This
->
doc
&&
IsEqualGUID
(
guidService
,
&
IID_IWindowForBindingUI
))
return
IServiceProvider_QueryService
(
&
This
->
doc
->
basedoc
.
IServiceProvider_iface
,
guidService
,
riid
,
ppv
);
return
E_NOINTERFACE
;
}
...
...
@@ -721,6 +725,8 @@ HRESULT start_binding(HTMLWindow *window, HTMLDocumentNode *doc, BSCallback *bsc
TRACE
(
"(%p %p %p %p)
\n
"
,
window
,
doc
,
bscallback
,
bctx
);
bscallback
->
doc
=
doc
;
if
(
!
doc
&&
window
)
bscallback
->
doc
=
window
->
doc
;
/* NOTE: IE7 calls IsSystemMoniker here*/
...
...
@@ -992,8 +998,11 @@ static HRESULT on_start_nsrequest(nsChannelBSC *This)
list_remove
(
&
This
->
bsc
.
entry
);
list_init
(
&
This
->
bsc
.
entry
);
update_window_doc
(
This
->
window
);
if
(
This
->
window
->
doc
!=
This
->
bsc
.
doc
)
if
(
This
->
window
->
doc
!=
This
->
bsc
.
doc
)
{
if
(
This
->
bsc
.
doc
)
list_remove
(
&
This
->
bsc
.
entry
);
This
->
bsc
.
doc
=
This
->
window
->
doc
;
}
list_add_head
(
&
This
->
bsc
.
doc
->
bindings
,
&
This
->
bsc
.
entry
);
if
(
This
->
window
->
readystate
!=
READYSTATE_LOADING
)
set_ready_state
(
This
->
window
,
READYSTATE_LOADING
);
...
...
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