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
db452fdf
Commit
db452fdf
authored
Dec 09, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIURIContentListener to QueryInterface.
Always release nsIWebBrowserSetup.
parent
37b1a456
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
nsembed.c
dlls/mshtml/nsembed.c
+5
-2
No files found.
dlls/mshtml/nsembed.c
View file @
db452fdf
...
@@ -395,6 +395,9 @@ static nsresult NSAPI nsWebBrowserChrome_QueryInterface(nsIWebBrowserChrome *ifa
...
@@ -395,6 +395,9 @@ static nsresult NSAPI nsWebBrowserChrome_QueryInterface(nsIWebBrowserChrome *ifa
}
else
if
(
IsEqualGUID
(
&
IID_nsIContextMenuListener
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_nsIContextMenuListener
,
riid
))
{
TRACE
(
"(%p)->(IID_nsIContextMenuListener, %p)
\n
"
,
This
,
result
);
TRACE
(
"(%p)->(IID_nsIContextMenuListener, %p)
\n
"
,
This
,
result
);
*
result
=
NSCML
(
This
);
*
result
=
NSCML
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_nsIURIContentListener
,
riid
))
{
TRACE
(
"(%p)->(IID_nsIURIContentListener %p)
\n
"
,
This
,
result
);
*
result
=
NSURICL
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_nsIEmbeddingSiteWindow
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_nsIEmbeddingSiteWindow
,
riid
))
{
TRACE
(
"(%p)->(IIS_nsIEmbeddingSiteWindow %p)
\n
"
,
This
,
result
);
TRACE
(
"(%p)->(IIS_nsIEmbeddingSiteWindow %p)
\n
"
,
This
,
result
);
*
result
=
NSEMBWNDS
(
This
);
*
result
=
NSEMBWNDS
(
This
);
...
@@ -895,9 +898,9 @@ void HTMLDocument_NSContainer_Init(HTMLDocument *This)
...
@@ -895,9 +898,9 @@ void HTMLDocument_NSContainer_Init(HTMLDocument *This)
&
IID_nsIWebBrowserSetup
,
(
void
**
)
&
wbsetup
);
&
IID_nsIWebBrowserSetup
,
(
void
**
)
&
wbsetup
);
if
(
NS_SUCCEEDED
(
nsres
))
{
if
(
NS_SUCCEEDED
(
nsres
))
{
nsres
=
nsIWebBrowserSetup_SetProperty
(
wbsetup
,
SETUP_IS_CHROME_WRAPPER
,
TRUE
);
nsres
=
nsIWebBrowserSetup_SetProperty
(
wbsetup
,
SETUP_IS_CHROME_WRAPPER
,
TRUE
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"SetProperty failed: %08lx
\n
"
,
nsres
);
nsIWebBrowserSetup_Release
(
wbsetup
);
nsIWebBrowserSetup_Release
(
wbsetup
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"SetProperty(SETUP_IS_CHROME_WRAPPER) failed: %08lx
\n
"
,
nsres
);
}
else
{
}
else
{
ERR
(
"Could not get nsIWebBrowserSetup interface
\n
"
);
ERR
(
"Could not get nsIWebBrowserSetup interface
\n
"
);
}
}
...
...
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