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
364b1260
Commit
364b1260
authored
Oct 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added get_onmouseover implementations.
parent
3cae9a77
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
4 deletions
+32
-4
htmldoc.c
dlls/mshtml/htmldoc.c
+4
-2
htmlelem.c
dlls/mshtml/htmlelem.c
+4
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+13
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+11
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
364b1260
...
...
@@ -1081,8 +1081,10 @@ static HRESULT WINAPI HTMLDocument_put_onmouseover(IHTMLDocument2 *iface, VARIAN
static
HRESULT
WINAPI
HTMLDocument_get_onmouseover
(
IHTMLDocument2
*
iface
,
VARIANT
*
p
)
{
HTMLDocument
*
This
=
HTMLDOC_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_doc_event
(
This
,
EVENTID_MOUSEOVER
,
p
);
}
static
HRESULT
WINAPI
HTMLDocument_put_onreadystatechange
(
IHTMLDocument2
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlelem.c
View file @
364b1260
...
...
@@ -510,8 +510,10 @@ static HRESULT WINAPI HTMLElement_put_onmouseover(IHTMLElement *iface, VARIANT v
static
HRESULT
WINAPI
HTMLElement_get_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_MOUSEOVER
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_put_onmousemove
(
IHTMLElement
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlevent.c
View file @
364b1260
...
...
@@ -471,6 +471,19 @@ HRESULT set_event_handler(event_target_t **event_target, HTMLDocument *doc, even
return
E_NOTIMPL
;
}
HRESULT
get_event_handler
(
event_target_t
**
event_target
,
eventid_t
eid
,
VARIANT
*
var
)
{
if
(
*
event_target
&&
(
*
event_target
)
->
event_table
[
eid
])
{
V_VT
(
var
)
=
VT_DISPATCH
;
V_DISPATCH
(
var
)
=
(
*
event_target
)
->
event_table
[
eid
];
IDispatch_AddRef
(
V_DISPATCH
(
var
));
}
else
{
V_VT
(
var
)
=
VT_NULL
;
}
return
S_OK
;
}
void
check_event_attr
(
HTMLDocument
*
doc
,
nsIDOMElement
*
nselem
)
{
const
PRUnichar
*
attr_value
;
...
...
dlls/mshtml/htmlevent.h
View file @
364b1260
...
...
@@ -30,13 +30,24 @@ void check_event_attr(HTMLDocument*,nsIDOMElement*);
void
release_event_target
(
event_target_t
*
);
void
fire_event
(
HTMLDocument
*
,
eventid_t
,
nsIDOMNode
*
);
HRESULT
set_event_handler
(
event_target_t
**
,
HTMLDocument
*
,
eventid_t
,
VARIANT
*
);
HRESULT
get_event_handler
(
event_target_t
**
,
eventid_t
,
VARIANT
*
);
static
inline
HRESULT
set_node_event
(
HTMLDOMNode
*
node
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
set_event_handler
(
&
node
->
event_target
,
node
->
doc
,
eid
,
var
);
}
static
inline
HRESULT
get_node_event
(
HTMLDOMNode
*
node
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
get_event_handler
(
&
node
->
event_target
,
eid
,
var
);
}
static
inline
HRESULT
set_doc_event
(
HTMLDocument
*
doc
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
set_event_handler
(
&
doc
->
event_target
,
doc
,
eid
,
var
);
}
static
inline
HRESULT
get_doc_event
(
HTMLDocument
*
doc
,
eventid_t
eid
,
VARIANT
*
var
)
{
return
get_event_handler
(
&
doc
->
event_target
,
eid
,
var
);
}
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