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
040e47fe
Commit
040e47fe
authored
Sep 18, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added IWebBrowserPriv2IE8 stub implementation.
parent
42c1b393
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
145 additions
and
0 deletions
+145
-0
ieframe.h
dlls/ieframe/ieframe.h
+1
-0
navigate.c
dlls/ieframe/navigate.c
+107
-0
mshtml.idl
include/mshtml.idl
+37
-0
No files found.
dlls/ieframe/ieframe.h
View file @
040e47fe
...
@@ -58,6 +58,7 @@ typedef struct {
...
@@ -58,6 +58,7 @@ typedef struct {
IHlinkFrame
IHlinkFrame_iface
;
IHlinkFrame
IHlinkFrame_iface
;
ITargetFrame2
ITargetFrame2_iface
;
ITargetFrame2
ITargetFrame2_iface
;
ITargetFramePriv2
ITargetFramePriv2_iface
;
ITargetFramePriv2
ITargetFramePriv2_iface
;
IWebBrowserPriv2IE8
IWebBrowserPriv2IE8_iface
;
IUnknown
*
outer
;
IUnknown
*
outer
;
DocHost
*
doc_host
;
DocHost
*
doc_host
;
...
...
dlls/ieframe/navigate.c
View file @
040e47fe
...
@@ -1451,6 +1451,109 @@ static const ITargetFramePriv2Vtbl TargetFramePriv2Vtbl = {
...
@@ -1451,6 +1451,109 @@ static const ITargetFramePriv2Vtbl TargetFramePriv2Vtbl = {
TargetFramePriv2_AggregatedNavigation2
TargetFramePriv2_AggregatedNavigation2
};
};
static
inline
HlinkFrame
*
impl_from_IWebBrowserPriv2IE8
(
IWebBrowserPriv2IE8
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HlinkFrame
,
IWebBrowserPriv2IE8_iface
);
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_QueryInterface
(
IWebBrowserPriv2IE8
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
return
IUnknown_QueryInterface
(
This
->
outer
,
riid
,
ppv
);
}
static
ULONG
WINAPI
WebBrowserPriv2IE8_AddRef
(
IWebBrowserPriv2IE8
*
iface
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
return
IUnknown_AddRef
(
This
->
outer
);
}
static
ULONG
WINAPI
WebBrowserPriv2IE8_Release
(
IWebBrowserPriv2IE8
*
iface
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
return
IUnknown_Release
(
This
->
outer
);
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_NavigateWithBindCtx2
(
IWebBrowserPriv2IE8
*
iface
,
IUri
*
uri
,
VARIANT
*
flags
,
VARIANT
*
target_frame
,
VARIANT
*
post_data
,
VARIANT
*
headers
,
IBindCtx
*
bind_ctx
,
LPOLESTR
url_fragment
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%p %s %s %s %s %p %s)
\n
"
,
This
,
uri
,
debugstr_variant
(
flags
),
debugstr_variant
(
target_frame
),
debugstr_variant
(
post_data
),
debugstr_variant
(
headers
),
bind_ctx
,
debugstr_w
(
url_fragment
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_SetBrowserFrameOptions
(
IWebBrowserPriv2IE8
*
iface
,
DWORD
opt1
,
DWORD
opt2
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%x %x)
\n
"
,
This
,
opt1
,
opt2
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_DetachConnectionPoints
(
IWebBrowserPriv2IE8
*
iface
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_GetProcessId
(
IWebBrowserPriv2IE8
*
iface
,
DWORD
*
pid
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_CompatAttachEditEvents
(
IWebBrowserPriv2IE8
*
iface
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_HandleOpenOptions
(
IWebBrowserPriv2IE8
*
iface
,
IUnknown
*
obj
,
BSTR
bstr
,
int
options
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%p %s %x)
\n
"
,
This
,
obj
,
debugstr_w
(
bstr
),
options
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_SetSearchTerm
(
IWebBrowserPriv2IE8
*
iface
,
BSTR
term
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
term
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_GetSearchTerm
(
IWebBrowserPriv2IE8
*
iface
,
BSTR
*
term
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
term
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WebBrowserPriv2IE8_GetCurrentDocument
(
IWebBrowserPriv2IE8
*
iface
,
IDispatch
**
doc
)
{
HlinkFrame
*
This
=
impl_from_IWebBrowserPriv2IE8
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
doc
);
return
E_NOTIMPL
;
}
static
const
IWebBrowserPriv2IE8Vtbl
WebBrowserPriv2IE8Vtbl
=
{
WebBrowserPriv2IE8_QueryInterface
,
WebBrowserPriv2IE8_AddRef
,
WebBrowserPriv2IE8_Release
,
WebBrowserPriv2IE8_NavigateWithBindCtx2
,
WebBrowserPriv2IE8_SetBrowserFrameOptions
,
WebBrowserPriv2IE8_DetachConnectionPoints
,
WebBrowserPriv2IE8_GetProcessId
,
WebBrowserPriv2IE8_CompatAttachEditEvents
,
WebBrowserPriv2IE8_HandleOpenOptions
,
WebBrowserPriv2IE8_SetSearchTerm
,
WebBrowserPriv2IE8_GetSearchTerm
,
WebBrowserPriv2IE8_GetCurrentDocument
};
BOOL
HlinkFrame_QI
(
HlinkFrame
*
This
,
REFIID
riid
,
void
**
ppv
)
BOOL
HlinkFrame_QI
(
HlinkFrame
*
This
,
REFIID
riid
,
void
**
ppv
)
{
{
if
(
IsEqualGUID
(
&
IID_IHlinkFrame
,
riid
))
{
if
(
IsEqualGUID
(
&
IID_IHlinkFrame
,
riid
))
{
...
@@ -1465,6 +1568,9 @@ BOOL HlinkFrame_QI(HlinkFrame *This, REFIID riid, void **ppv)
...
@@ -1465,6 +1568,9 @@ BOOL HlinkFrame_QI(HlinkFrame *This, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
&
IID_ITargetFramePriv2
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_ITargetFramePriv2
,
riid
))
{
TRACE
(
"(%p)->(IID_ITargetFramePriv2 %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_ITargetFramePriv2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
ITargetFramePriv2_iface
;
*
ppv
=
&
This
->
ITargetFramePriv2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IWebBrowserPriv2IE8
,
riid
))
{
TRACE
(
"(%p)->(IID_IWebBrowserPriv2IE8 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IWebBrowserPriv2IE8_iface
;
}
else
{
}
else
{
return
FALSE
;
return
FALSE
;
}
}
...
@@ -1478,6 +1584,7 @@ void HlinkFrame_Init(HlinkFrame *This, IUnknown *outer, DocHost *doc_host)
...
@@ -1478,6 +1584,7 @@ void HlinkFrame_Init(HlinkFrame *This, IUnknown *outer, DocHost *doc_host)
This
->
IHlinkFrame_iface
.
lpVtbl
=
&
HlinkFrameVtbl
;
This
->
IHlinkFrame_iface
.
lpVtbl
=
&
HlinkFrameVtbl
;
This
->
ITargetFrame2_iface
.
lpVtbl
=
&
TargetFrame2Vtbl
;
This
->
ITargetFrame2_iface
.
lpVtbl
=
&
TargetFrame2Vtbl
;
This
->
ITargetFramePriv2_iface
.
lpVtbl
=
&
TargetFramePriv2Vtbl
;
This
->
ITargetFramePriv2_iface
.
lpVtbl
=
&
TargetFramePriv2Vtbl
;
This
->
IWebBrowserPriv2IE8_iface
.
lpVtbl
=
&
WebBrowserPriv2IE8Vtbl
;
This
->
outer
=
outer
;
This
->
outer
=
outer
;
This
->
doc_host
=
doc_host
;
This
->
doc_host
=
doc_host
;
...
...
include/mshtml.idl
View file @
040e47fe
...
@@ -18516,3 +18516,40 @@ interface IHTMLPrivateWindow : IUnknown
...
@@ -18516,3 +18516,40 @@ interface IHTMLPrivateWindow : IUnknown
HRESULT
FindWindowByName
(
LPCWSTR
name
,
IHTMLWindow2
**
ret
)
;
HRESULT
FindWindowByName
(
LPCWSTR
name
,
IHTMLWindow2
**
ret
)
;
HRESULT
GetAddressBarUrl
(
BSTR
*
url
)
;
HRESULT
GetAddressBarUrl
(
BSTR
*
url
)
;
}
}
/*****************************************************************************
*
IWebBrowserPriv
interface
*/
[
object
,
uuid
(
3050
f804
-
98b5
-
11
cf
-
bb82
-
00
aa00bdce0b
),
local
]
interface
IWebBrowserPriv
:
IUnknown
{
HRESULT
NavigateWithBindCtx
(
VARIANT
*
uri
,
VARIANT
*
flags
,
VARIANT
*
target_frame
,
VARIANT
*
post_data
,
VARIANT
*
headers
,
IBindCtx
*
bind_ctx
,
LPOLESTR
url_fragment
)
;
HRESULT
OnClose
()
;
}
/*****************************************************************************
*
IWebBrowserPriv2IE8
interface
*/
[
object
,
uuid
(
3
ed72303
-
6
ffc
-
4214
-
ba90
-
faf1862dec8a
),
local
]
interface
IWebBrowserPriv2IE8
:
IUnknown
{
HRESULT
NavigateWithBindCtx2
(
IUri
*
uri
,
VARIANT
*
flags
,
VARIANT
*
target_frame
,
VARIANT
*
post_data
,
VARIANT
*
headers
,
IBindCtx
*
bind_ctx
,
LPOLESTR
url_fragment
)
;
HRESULT
SetBrowserFrameOptions
(
DWORD
opt1
,
DWORD
opt2
)
;
HRESULT
DetachConnectionPoints
()
;
HRESULT
GetProcessId
(
DWORD
*
pid
)
;
HRESULT
CompatAttachEditEvents
()
;
HRESULT
HandleOpenOptions
(
IUnknown
*
obj
,
BSTR
bstr
,
int
options
)
;
HRESULT
SetSearchTerm
(
BSTR
term
)
;
HRESULT
GetSearchTerm
(
BSTR
*
term
)
;
HRESULT
GetCurrentDocument
(
IDispatch
**
doc
)
;
}
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