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
e1aa05b1
Commit
e1aa05b1
authored
Sep 16, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Moved hostinfo to HTMLDocumentObj.
parent
fffc8c66
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-2
oleobj.c
dlls/mshtml/oleobj.c
+2
-2
view.c
dlls/mshtml/view.c
+2
-2
No files found.
dlls/mshtml/mshtml_private.h
View file @
e1aa05b1
...
@@ -289,8 +289,6 @@ struct HTMLDocument {
...
@@ -289,8 +289,6 @@ struct HTMLDocument {
LPOLESTR
url
;
LPOLESTR
url
;
struct
list
bindings
;
struct
list
bindings
;
DOCHOSTUIINFO
hostinfo
;
USERMODE
usermode
;
USERMODE
usermode
;
READYSTATE
readystate
;
READYSTATE
readystate
;
BOOL
in_place_active
;
BOOL
in_place_active
;
...
@@ -350,6 +348,8 @@ struct HTMLDocumentObj {
...
@@ -350,6 +348,8 @@ struct HTMLDocumentObj {
IOleInPlaceFrame
*
frame
;
IOleInPlaceFrame
*
frame
;
IOleInPlaceUIWindow
*
ip_window
;
IOleInPlaceUIWindow
*
ip_window
;
DOCHOSTUIINFO
hostinfo
;
IOleUndoManager
*
undomgr
;
IOleUndoManager
*
undomgr
;
HWND
hwnd
;
HWND
hwnd
;
...
...
dlls/mshtml/oleobj.c
View file @
e1aa05b1
...
@@ -111,7 +111,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
...
@@ -111,7 +111,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
This
->
doc_obj
->
hostui
=
NULL
;
This
->
doc_obj
->
hostui
=
NULL
;
}
}
memset
(
&
This
->
hostinfo
,
0
,
sizeof
(
DOCHOSTUIINFO
));
memset
(
&
This
->
doc_obj
->
hostinfo
,
0
,
sizeof
(
DOCHOSTUIINFO
));
if
(
!
pClientSite
)
if
(
!
pClientSite
)
return
S_OK
;
return
S_OK
;
...
@@ -130,7 +130,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
...
@@ -130,7 +130,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
hostinfo
.
cbSize
,
hostinfo
.
dwFlags
,
hostinfo
.
dwDoubleClick
,
hostinfo
.
cbSize
,
hostinfo
.
dwFlags
,
hostinfo
.
dwDoubleClick
,
debugstr_w
(
hostinfo
.
pchHostCss
),
debugstr_w
(
hostinfo
.
pchHostNS
));
debugstr_w
(
hostinfo
.
pchHostCss
),
debugstr_w
(
hostinfo
.
pchHostNS
));
update_hostinfo
(
This
->
doc_obj
,
&
hostinfo
);
update_hostinfo
(
This
->
doc_obj
,
&
hostinfo
);
This
->
hostinfo
=
hostinfo
;
This
->
doc_obj
->
hostinfo
=
hostinfo
;
}
}
if
(
!
This
->
has_key_path
)
{
if
(
!
This
->
has_key_path
)
{
...
...
dlls/mshtml/view.c
View file @
e1aa05b1
...
@@ -60,7 +60,7 @@ static void paint_document(HTMLDocumentObj *This)
...
@@ -60,7 +60,7 @@ static void paint_document(HTMLDocumentObj *This)
hdc
=
BeginPaint
(
This
->
hwnd
,
&
ps
);
hdc
=
BeginPaint
(
This
->
hwnd
,
&
ps
);
if
(
!
(
This
->
basedoc
.
hostinfo
.
dwFlags
&
(
DOCHOSTUIFLAG_NO3DOUTERBORDER
|
DOCHOSTUIFLAG_NO3DBORDER
)))
if
(
!
(
This
->
hostinfo
.
dwFlags
&
(
DOCHOSTUIFLAG_NO3DOUTERBORDER
|
DOCHOSTUIFLAG_NO3DBORDER
)))
DrawEdge
(
hdc
,
&
rect
,
EDGE_SUNKEN
,
BF_RECT
|
BF_ADJUST
);
DrawEdge
(
hdc
,
&
rect
,
EDGE_SUNKEN
,
BF_RECT
|
BF_ADJUST
);
if
(
!
This
->
nscontainer
)
{
if
(
!
This
->
nscontainer
)
{
...
@@ -204,7 +204,7 @@ static LRESULT WINAPI serverwnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
...
@@ -204,7 +204,7 @@ static LRESULT WINAPI serverwnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
if
(
This
->
nscontainer
)
{
if
(
This
->
nscontainer
)
{
INT
ew
=
0
,
eh
=
0
;
INT
ew
=
0
,
eh
=
0
;
if
(
!
(
This
->
basedoc
.
hostinfo
.
dwFlags
&
(
DOCHOSTUIFLAG_NO3DOUTERBORDER
|
DOCHOSTUIFLAG_NO3DBORDER
)))
{
if
(
!
(
This
->
hostinfo
.
dwFlags
&
(
DOCHOSTUIFLAG_NO3DOUTERBORDER
|
DOCHOSTUIFLAG_NO3DBORDER
)))
{
ew
=
GetSystemMetrics
(
SM_CXEDGE
);
ew
=
GetSystemMetrics
(
SM_CXEDGE
);
eh
=
GetSystemMetrics
(
SM_CYEDGE
);
eh
=
GetSystemMetrics
(
SM_CYEDGE
);
}
}
...
...
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