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
1f92fba5
Commit
1f92fba5
authored
Mar 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Move offline and silent variables to DocHost.
parent
207608c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
dochost.c
dlls/shdocvw/dochost.c
+3
-0
shdocvw.h
dlls/shdocvw/shdocvw.h
+3
-2
webbrowser.c
dlls/shdocvw/webbrowser.c
+4
-6
No files found.
dlls/shdocvw/dochost.c
View file @
1f92fba5
...
...
@@ -493,6 +493,9 @@ void DocHost_Init(DocHost *This, IDispatch *disp)
This
->
frame_hwnd
=
NULL
;
This
->
url
=
NULL
;
This
->
silent
=
VARIANT_FALSE
;
This
->
offline
=
VARIANT_FALSE
;
DocHost_ClientSite_Init
(
This
);
DocHost_Frame_Init
(
This
);
...
...
dlls/shdocvw/shdocvw.h
View file @
1f92fba5
...
...
@@ -83,6 +83,9 @@ typedef struct {
LPOLESTR
url
;
VARIANT_BOOL
silent
;
VARIANT_BOOL
offline
;
ConnectionPointContainer
cps
;
}
DocHost
;
...
...
@@ -126,8 +129,6 @@ struct WebBrowser {
VARIANT_BOOL
address_bar
;
VARIANT_BOOL
status_bar
;
VARIANT_BOOL
tool_bar
;
VARIANT_BOOL
silent
;
VARIANT_BOOL
offline
;
DocHost
doc_host
;
};
...
...
dlls/shdocvw/webbrowser.c
View file @
1f92fba5
...
...
@@ -706,7 +706,7 @@ static HRESULT WINAPI WebBrowser_get_Offline(IWebBrowser2 *iface, VARIANT_BOOL *
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pbOffline
);
*
pbOffline
=
This
->
offline
;
*
pbOffline
=
This
->
doc_host
.
offline
;
return
S_OK
;
}
...
...
@@ -716,7 +716,7 @@ static HRESULT WINAPI WebBrowser_put_Offline(IWebBrowser2 *iface, VARIANT_BOOL b
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
bOffline
);
This
->
offline
=
bOffline
?
VARIANT_TRUE
:
VARIANT_FALSE
;
This
->
doc_host
.
offline
=
bOffline
?
VARIANT_TRUE
:
VARIANT_FALSE
;
return
S_OK
;
}
...
...
@@ -726,7 +726,7 @@ static HRESULT WINAPI WebBrowser_get_Silent(IWebBrowser2 *iface, VARIANT_BOOL *p
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pbSilent
);
*
pbSilent
=
This
->
silent
;
*
pbSilent
=
This
->
doc_host
.
silent
;
return
S_OK
;
}
...
...
@@ -736,7 +736,7 @@ static HRESULT WINAPI WebBrowser_put_Silent(IWebBrowser2 *iface, VARIANT_BOOL bS
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
bSilent
);
This
->
silent
=
bSilent
?
VARIANT_TRUE
:
VARIANT_FALSE
;
This
->
doc_host
.
silent
=
bSilent
?
VARIANT_TRUE
:
VARIANT_FALSE
;
return
S_OK
;
}
...
...
@@ -927,8 +927,6 @@ static HRESULT WebBrowser_Create(INT version, IUnknown *pOuter, REFIID riid, voi
ret
->
address_bar
=
VARIANT_TRUE
;
ret
->
status_bar
=
VARIANT_TRUE
;
ret
->
tool_bar
=
VARIANT_TRUE
;
ret
->
silent
=
VARIANT_FALSE
;
ret
->
offline
=
VARIANT_FALSE
;
WebBrowser_OleObject_Init
(
ret
);
WebBrowser_ViewObject_Init
(
ret
);
...
...
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