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
95080eac
Commit
95080eac
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: Move update flags to HTMLDocumentObj.
parent
23e7fe48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-2
view.c
dlls/mshtml/view.c
+8
-8
No files found.
dlls/mshtml/mshtml_private.h
View file @
95080eac
...
...
@@ -284,8 +284,6 @@ struct HTMLDocument {
HTMLWindow
*
window
;
nsIDOMHTMLDocument
*
nsdoc
;
DWORD
update
;
event_target_t
*
event_target
;
ConnectionPointContainer
cp_container
;
ConnectionPoint
cp_htmldocevents
;
...
...
@@ -350,6 +348,8 @@ struct HTMLDocumentObj {
READYSTATE
readystate
;
LPWSTR
mime
;
DWORD
update
;
/* FIXME: probably should be in document node object */
nsChannelBSC
*
bscallback
;
IMoniker
*
mon
;
...
...
dlls/mshtml/view.c
View file @
95080eac
...
...
@@ -97,10 +97,10 @@ static void activate_gecko(NSContainer *This)
void
update_doc
(
HTMLDocument
*
This
,
DWORD
flags
)
{
if
(
!
This
->
update
&&
This
->
doc_obj
->
hwnd
)
if
(
!
This
->
doc_obj
->
update
&&
This
->
doc_obj
->
hwnd
)
SetTimer
(
This
->
doc_obj
->
hwnd
,
TIMER_ID
,
100
,
NULL
);
This
->
update
|=
flags
;
This
->
doc_obj
->
update
|=
flags
;
}
void
update_title
(
HTMLDocumentObj
*
This
)
...
...
@@ -108,10 +108,10 @@ void update_title(HTMLDocumentObj *This)
IOleCommandTarget
*
olecmd
;
HRESULT
hres
;
if
(
!
(
This
->
basedoc
.
update
&
UPDATE_TITLE
))
if
(
!
(
This
->
update
&
UPDATE_TITLE
))
return
;
This
->
basedoc
.
update
&=
~
UPDATE_TITLE
;
This
->
update
&=
~
UPDATE_TITLE
;
if
(
!
This
->
client
)
return
;
...
...
@@ -133,14 +133,14 @@ void update_title(HTMLDocumentObj *This)
static
LRESULT
on_timer
(
HTMLDocumentObj
*
This
)
{
TRACE
(
"(%p) %x
\n
"
,
This
,
This
->
basedoc
.
update
);
TRACE
(
"(%p) %x
\n
"
,
This
,
This
->
update
);
KillTimer
(
This
->
hwnd
,
TIMER_ID
);
if
(
!
This
->
basedoc
.
update
)
if
(
!
This
->
update
)
return
0
;
if
(
This
->
basedoc
.
update
&
UPDATE_UI
)
{
if
(
This
->
update
&
UPDATE_UI
)
{
if
(
This
->
hostui
)
IDocHostUIHandler_UpdateUI
(
This
->
hostui
);
...
...
@@ -159,7 +159,7 @@ static LRESULT on_timer(HTMLDocumentObj *This)
}
update_title
(
This
);
This
->
basedoc
.
update
=
0
;
This
->
update
=
0
;
return
0
;
}
...
...
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