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
fb4980d6
Commit
fb4980d6
authored
Dec 06, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added get_parentWindow implementation.
parent
92ecf233
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
2 deletions
+25
-2
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmldoc.c
dlls/mshtml/htmldoc.c
+9
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+15
-0
No files found.
dlls/mshtml/Makefile.in
View file @
fb4980d6
...
@@ -24,6 +24,7 @@ C_SRCS = \
...
@@ -24,6 +24,7 @@ C_SRCS = \
htmlstylesheet.c
\
htmlstylesheet.c
\
htmltextcont.c
\
htmltextcont.c
\
htmltextarea.c
\
htmltextarea.c
\
htmlwindow.c
\
install.c
\
install.c
\
loadopts.c
\
loadopts.c
\
main.c
\
main.c
\
...
...
dlls/mshtml/htmldoc.c
View file @
fb4980d6
...
@@ -162,6 +162,7 @@ static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
...
@@ -162,6 +162,7 @@ static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
if
(
This
->
hwnd
)
if
(
This
->
hwnd
)
DestroyWindow
(
This
->
hwnd
);
DestroyWindow
(
This
->
hwnd
);
IHTMLWindow2_Release
(
HTMLWINDOW2
(
This
->
window
));
release_nodes
(
This
);
release_nodes
(
This
);
HTMLDocument_ConnectionPoints_Destroy
(
This
);
HTMLDocument_ConnectionPoints_Destroy
(
This
);
...
@@ -920,8 +921,13 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, long
...
@@ -920,8 +921,13 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, long
static
HRESULT
WINAPI
HTMLDocument_get_parentWindow
(
IHTMLDocument2
*
iface
,
IHTMLWindow2
**
p
)
static
HRESULT
WINAPI
HTMLDocument_get_parentWindow
(
IHTMLDocument2
*
iface
,
IHTMLWindow2
**
p
)
{
{
FIXME
(
"(%p)->(%p)
\n
"
,
iface
,
p
);
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
HTMLWINDOW2
(
This
->
window
);
IHTMLWindow2_AddRef
(
*
p
);
return
S_OK
;
}
}
static
HRESULT
WINAPI
HTMLDocument_get_styleSheets
(
IHTMLDocument2
*
iface
,
static
HRESULT
WINAPI
HTMLDocument_get_styleSheets
(
IHTMLDocument2
*
iface
,
...
@@ -1124,6 +1130,7 @@ HRESULT HTMLDocument_Create(IUnknown *pUnkOuter, REFIID riid, void** ppvObject)
...
@@ -1124,6 +1130,7 @@ HRESULT HTMLDocument_Create(IUnknown *pUnkOuter, REFIID riid, void** ppvObject)
HTMLDocument_ConnectionPoints_Init
(
ret
);
HTMLDocument_ConnectionPoints_Init
(
ret
);
ret
->
nscontainer
=
NSContainer_Create
(
ret
,
NULL
);
ret
->
nscontainer
=
NSContainer_Create
(
ret
,
NULL
);
ret
->
window
=
HTMLWindow_Create
(
ret
);
get_thread_hwnd
();
get_thread_hwnd
();
...
...
dlls/mshtml/htmlwindow.c
0 → 100644
View file @
fb4980d6
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
fb4980d6
...
@@ -52,6 +52,15 @@ typedef struct HTMLDOMNode HTMLDOMNode;
...
@@ -52,6 +52,15 @@ typedef struct HTMLDOMNode HTMLDOMNode;
typedef
struct
ConnectionPoint
ConnectionPoint
;
typedef
struct
ConnectionPoint
ConnectionPoint
;
typedef
struct
BSCallback
BSCallback
;
typedef
struct
BSCallback
BSCallback
;
typedef
struct
{
const
IHTMLWindow2Vtbl
*
lpHTMLWindow2Vtbl
;
LONG
ref
;
HTMLDocument
*
doc
;
nsIDOMWindow
*
nswindow
;
}
HTMLWindow
;
typedef
enum
{
typedef
enum
{
UNKNOWN_USERMODE
,
UNKNOWN_USERMODE
,
BROWSEMODE
,
BROWSEMODE
,
...
@@ -80,6 +89,7 @@ struct HTMLDocument {
...
@@ -80,6 +89,7 @@ struct HTMLDocument {
LONG
ref
;
LONG
ref
;
NSContainer
*
nscontainer
;
NSContainer
*
nscontainer
;
HTMLWindow
*
window
;
IOleClientSite
*
client
;
IOleClientSite
*
client
;
IDocHostUIHandler
*
hostui
;
IDocHostUIHandler
*
hostui
;
...
@@ -226,6 +236,8 @@ typedef struct {
...
@@ -226,6 +236,8 @@ typedef struct {
HTMLElement
*
element
;
HTMLElement
*
element
;
}
HTMLTextContainer
;
}
HTMLTextContainer
;
#define HTMLWINDOW2(x) ((IHTMLWindow2*) &(x)->lpHTMLWindow2Vtbl)
#define HTMLDOC(x) ((IHTMLDocument2*) &(x)->lpHTMLDocument2Vtbl)
#define HTMLDOC(x) ((IHTMLDocument2*) &(x)->lpHTMLDocument2Vtbl)
#define HTMLDOC3(x) ((IHTMLDocument3*) &(x)->lpHTMLDocument3Vtbl)
#define HTMLDOC3(x) ((IHTMLDocument3*) &(x)->lpHTMLDocument3Vtbl)
#define PERSIST(x) ((IPersist*) &(x)->lpPersistFileVtbl)
#define PERSIST(x) ((IPersist*) &(x)->lpPersistFileVtbl)
...
@@ -277,6 +289,9 @@ typedef struct {
...
@@ -277,6 +289,9 @@ typedef struct {
HRESULT
HTMLDocument_Create
(
IUnknown
*
,
REFIID
,
void
**
);
HRESULT
HTMLDocument_Create
(
IUnknown
*
,
REFIID
,
void
**
);
HRESULT
HTMLLoadOptions_Create
(
IUnknown
*
,
REFIID
,
void
**
);
HRESULT
HTMLLoadOptions_Create
(
IUnknown
*
,
REFIID
,
void
**
);
HTMLWindow
*
HTMLWindow_Create
(
HTMLDocument
*
);
HTMLWindow
*
nswindow_to_window
(
nsIDOMWindow
*
);
void
HTMLDocument_HTMLDocument3_Init
(
HTMLDocument
*
);
void
HTMLDocument_HTMLDocument3_Init
(
HTMLDocument
*
);
void
HTMLDocument_Persist_Init
(
HTMLDocument
*
);
void
HTMLDocument_Persist_Init
(
HTMLDocument
*
);
void
HTMLDocument_OleCmd_Init
(
HTMLDocument
*
);
void
HTMLDocument_OleCmd_Init
(
HTMLDocument
*
);
...
...
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