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
1a25ed26
Commit
1a25ed26
authored
Aug 14, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Store moniker in HTMLInnerWindow.
parent
570ffbb4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+9
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
navigate.c
dlls/mshtml/navigate.c
+5
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
1a25ed26
...
...
@@ -264,6 +264,8 @@ static void release_inner_window(HTMLInnerWindow *This)
IHTMLScreen_Release
(
This
->
screen
);
if
(
This
->
history
)
IOmHistory_Release
(
This
->
history
);
if
(
This
->
mon
)
IMoniker_Release
(
This
->
mon
);
heap_free
(
This
);
}
...
...
@@ -2609,7 +2611,7 @@ static void *alloc_window(size_t size)
return
window
;
}
static
HRESULT
create_inner_window
(
HTMLOuterWindow
*
outer_window
,
HTMLInnerWindow
**
ret
)
static
HRESULT
create_inner_window
(
HTMLOuterWindow
*
outer_window
,
IMoniker
*
mon
,
HTMLInnerWindow
**
ret
)
{
HTMLInnerWindow
*
window
;
...
...
@@ -2628,6 +2630,11 @@ static HRESULT create_inner_window(HTMLOuterWindow *outer_window, HTMLInnerWindo
window
->
task_magic
=
get_task_target_magic
();
window
->
current_script_guid
=
CLSID_JScript
;
if
(
mon
)
{
IMoniker_AddRef
(
mon
);
window
->
mon
=
mon
;
}
*
ret
=
window
;
return
S_OK
;
}
...
...
@@ -2701,7 +2708,7 @@ HRESULT create_pending_window(HTMLOuterWindow *outer_window, nsChannelBSC *chann
HTMLInnerWindow
*
pending_window
;
HRESULT
hres
;
hres
=
create_inner_window
(
outer_window
,
&
pending_window
);
hres
=
create_inner_window
(
outer_window
,
outer_window
->
mon
/* FIXME */
,
&
pending_window
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
dlls/mshtml/mshtml_private.h
View file @
1a25ed26
...
...
@@ -400,6 +400,7 @@ struct HTMLInnerWindow {
LONG
task_magic
;
IMoniker
*
mon
;
nsChannelBSC
*
bscallback
;
struct
list
bindings
;
};
...
...
dlls/mshtml/navigate.c
View file @
1a25ed26
...
...
@@ -1784,6 +1784,11 @@ void abort_window_bindings(HTMLInnerWindow *window)
IBindStatusCallback_Release
(
&
window
->
bscallback
->
bsc
.
IBindStatusCallback_iface
);
window
->
bscallback
=
NULL
;
}
if
(
window
->
mon
)
{
IMoniker_Release
(
window
->
mon
);
window
->
mon
=
NULL
;
}
}
HRESULT
channelbsc_load_stream
(
HTMLInnerWindow
*
pending_window
,
IStream
*
stream
)
...
...
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