Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
522d0bf9
Commit
522d0bf9
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: Use node event_target for HTMLDocument.
parent
7eca0bca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
htmldoc.c
dlls/mshtml/htmldoc.c
+0
-3
htmlevent.c
dlls/mshtml/htmlevent.c
+2
-1
htmlevent.h
dlls/mshtml/htmlevent.h
+2
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+0
-1
No files found.
dlls/mshtml/htmldoc.c
View file @
522d0bf9
...
...
@@ -1741,9 +1741,6 @@ static void destroy_htmldoc(HTMLDocument *This)
{
remove_doc_tasks
(
This
);
if
(
This
->
event_target
)
release_event_target
(
This
->
event_target
);
ConnectionPointContainer_Destroy
(
&
This
->
cp_container
);
if
(
This
->
nsdoc
)
...
...
dlls/mshtml/htmlevent.c
View file @
522d0bf9
...
...
@@ -795,7 +795,8 @@ void fire_event(HTMLDocumentNode *doc, eventid_t eid, nsIDOMNode *target, nsIDOM
}
}
call_event_handlers
(
doc
,
event_obj
,
doc
->
basedoc
.
event_target
,
eid
,
(
IDispatch
*
)
HTMLDOC
(
&
doc
->
basedoc
));
call_event_handlers
(
doc
,
event_obj
,
doc
->
basedoc
.
doc_node
->
node
.
event_target
,
eid
,
(
IDispatch
*
)
HTMLDOC
(
&
doc
->
basedoc
));
break
;
default:
...
...
dlls/mshtml/htmlevent.h
View file @
522d0bf9
...
...
@@ -63,12 +63,12 @@ static inline HRESULT get_node_event(HTMLDOMNode *node, eventid_t eid, VARIANT *
static
inline
HRESULT
set_doc_event
(
HTMLDocument
*
doc
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
set_
event_handler
(
&
doc
->
event_target
,
doc
,
eid
,
var
);
return
set_
node_event
(
&
doc
->
doc_node
->
node
,
eid
,
var
);
}
static
inline
HRESULT
get_doc_event
(
HTMLDocument
*
doc
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
get_
event_handler
(
&
doc
->
event_target
,
eid
,
var
);
return
get_
node_event
(
&
doc
->
doc_node
->
node
,
eid
,
var
);
}
static
inline
HRESULT
set_window_event
(
HTMLWindow
*
window
,
eventid_t
eid
,
VARIANT
*
var
)
...
...
dlls/mshtml/mshtml_private.h
View file @
522d0bf9
...
...
@@ -278,7 +278,6 @@ struct HTMLDocument {
HTMLWindow
*
window
;
nsIDOMHTMLDocument
*
nsdoc
;
event_target_t
*
event_target
;
ConnectionPointContainer
cp_container
;
ConnectionPoint
cp_htmldocevents
;
ConnectionPoint
cp_htmldocevents2
;
...
...
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