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
f3a2d053
Commit
f3a2d053
authored
Jan 02, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added ITargetFramePriv2 interface to HlinkFrame object.
parent
06c0b139
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
100 additions
and
1 deletion
+100
-1
ieframe.h
dlls/ieframe/ieframe.h
+2
-1
navigate.c
dlls/ieframe/navigate.c
+98
-0
No files found.
dlls/ieframe/ieframe.h
View file @
f3a2d053
...
...
@@ -34,7 +34,7 @@
#include "mshtmhst.h"
#include "exdisp.h"
#include "hlink.h"
#include "htif
ram
e.h"
#include "htif
ac
e.h"
#include "shdeprecated.h"
#include "docobjectservice.h"
...
...
@@ -57,6 +57,7 @@ typedef struct {
typedef
struct
{
IHlinkFrame
IHlinkFrame_iface
;
ITargetFrame2
ITargetFrame2_iface
;
ITargetFramePriv2
ITargetFramePriv2_iface
;
IUnknown
*
outer
;
DocHost
*
doc_host
;
...
...
dlls/ieframe/navigate.c
View file @
f3a2d053
...
...
@@ -1229,6 +1229,97 @@ static const ITargetFrame2Vtbl TargetFrame2Vtbl = {
TargetFrame2_GetTargetAlias
};
static
inline
HlinkFrame
*
impl_from_ITargetFramePriv2
(
ITargetFramePriv2
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HlinkFrame
,
ITargetFramePriv2_iface
);
}
static
HRESULT
WINAPI
TargetFramePriv2_QueryInterface
(
ITargetFramePriv2
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
return
IUnknown_QueryInterface
(
This
->
outer
,
riid
,
ppv
);
}
static
ULONG
WINAPI
TargetFramePriv2_AddRef
(
ITargetFramePriv2
*
iface
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
return
IUnknown_AddRef
(
This
->
outer
);
}
static
ULONG
WINAPI
TargetFramePriv2_Release
(
ITargetFramePriv2
*
iface
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
return
IUnknown_Release
(
This
->
outer
);
}
static
HRESULT
WINAPI
TargetFramePriv2_FindFrameDownwards
(
ITargetFramePriv2
*
iface
,
LPCWSTR
pszTargetName
,
DWORD
dwFlags
,
IUnknown
**
ppunkTargetFrame
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%s %x %p)
\n
"
,
This
,
debugstr_w
(
pszTargetName
),
dwFlags
,
ppunkTargetFrame
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_FindFrameInContext
(
ITargetFramePriv2
*
iface
,
LPCWSTR
pszTargetName
,
IUnknown
*
punkContextFrame
,
DWORD
dwFlags
,
IUnknown
**
ppunkTargetFrame
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%s %p %x %p)
\n
"
,
This
,
debugstr_w
(
pszTargetName
),
punkContextFrame
,
dwFlags
,
ppunkTargetFrame
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_OnChildFrameActivate
(
ITargetFramePriv2
*
iface
,
IUnknown
*
pUnkChildFrame
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pUnkChildFrame
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_OnChildFrameDeactivate
(
ITargetFramePriv2
*
iface
,
IUnknown
*
pUnkChildFrame
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pUnkChildFrame
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_NavigateHack
(
ITargetFramePriv2
*
iface
,
DWORD
grfHLNF
,
LPBC
pbc
,
IBindStatusCallback
*
pibsc
,
LPCWSTR
pszTargetName
,
LPCWSTR
pszUrl
,
LPCWSTR
pszLocation
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%x %p %p %s %s %s)
\n
"
,
This
,
grfHLNF
,
pbc
,
pibsc
,
debugstr_w
(
pszTargetName
),
debugstr_w
(
pszUrl
),
debugstr_w
(
pszLocation
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_FindBrowserByIndex
(
ITargetFramePriv2
*
iface
,
DWORD
dwID
,
IUnknown
**
ppunkBrowser
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
dwID
,
ppunkBrowser
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TargetFramePriv2_AggregatedNavigation2
(
ITargetFramePriv2
*
iface
,
DWORD
grfHLNF
,
LPBC
pbc
,
IBindStatusCallback
*
pibsc
,
LPCWSTR
pszTargetName
,
IUri
*
pUri
,
LPCWSTR
pszLocation
)
{
HlinkFrame
*
This
=
impl_from_ITargetFramePriv2
(
iface
);
FIXME
(
"(%p)->(%x %p %p %s %p %s)
\n
"
,
This
,
grfHLNF
,
pbc
,
pibsc
,
debugstr_w
(
pszTargetName
),
pUri
,
debugstr_w
(
pszLocation
));
return
E_NOTIMPL
;
}
static
const
ITargetFramePriv2Vtbl
TargetFramePriv2Vtbl
=
{
TargetFramePriv2_QueryInterface
,
TargetFramePriv2_AddRef
,
TargetFramePriv2_Release
,
TargetFramePriv2_FindFrameDownwards
,
TargetFramePriv2_FindFrameInContext
,
TargetFramePriv2_OnChildFrameActivate
,
TargetFramePriv2_OnChildFrameDeactivate
,
TargetFramePriv2_NavigateHack
,
TargetFramePriv2_FindBrowserByIndex
,
TargetFramePriv2_AggregatedNavigation2
};
BOOL
HlinkFrame_QI
(
HlinkFrame
*
This
,
REFIID
riid
,
void
**
ppv
)
{
if
(
IsEqualGUID
(
&
IID_IHlinkFrame
,
riid
))
{
...
...
@@ -1237,6 +1328,12 @@ BOOL HlinkFrame_QI(HlinkFrame *This, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
&
IID_ITargetFrame2
,
riid
))
{
TRACE
(
"(%p)->(IID_ITargetFrame2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
ITargetFrame2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_ITargetFramePriv
,
riid
))
{
TRACE
(
"(%p)->(IID_ITargetFramePriv %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
ITargetFramePriv2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_ITargetFramePriv2
,
riid
))
{
TRACE
(
"(%p)->(IID_ITargetFramePriv2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
ITargetFramePriv2_iface
;
}
else
{
return
FALSE
;
}
...
...
@@ -1249,6 +1346,7 @@ void HlinkFrame_Init(HlinkFrame *This, IUnknown *outer, DocHost *doc_host)
{
This
->
IHlinkFrame_iface
.
lpVtbl
=
&
HlinkFrameVtbl
;
This
->
ITargetFrame2_iface
.
lpVtbl
=
&
TargetFrame2Vtbl
;
This
->
ITargetFramePriv2_iface
.
lpVtbl
=
&
TargetFramePriv2Vtbl
;
This
->
outer
=
outer
;
This
->
doc_host
=
doc_host
;
...
...
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