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
feed9d47
Commit
feed9d47
authored
Apr 04, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow6::onmessage property implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2ea84373
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+8
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
feed9d47
...
...
@@ -102,6 +102,9 @@ static const WCHAR onkeyupW[] = {'o','n','k','e','y','u','p',0};
static
const
WCHAR
loadW
[]
=
{
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
onloadW
[]
=
{
'o'
,
'n'
,
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
messageW
[]
=
{
'm'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
onmessageW
[]
=
{
'o'
,
'n'
,
'm'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
mousedownW
[]
=
{
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'd'
,
'o'
,
'w'
,
'n'
,
0
};
static
const
WCHAR
onmousedownW
[]
=
{
'o'
,
'n'
,
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'd'
,
'o'
,
'w'
,
'n'
,
0
};
...
...
@@ -210,6 +213,8 @@ static const event_info_t event_info[] = {
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
loadW
,
onloadW
,
EVENTT_HTML
,
DISPID_EVMETH_ONLOAD
,
EVENT_BIND_TO_BODY
},
{
messageW
,
onmessageW
,
EVENTT_NONE
,
DISPID_EVMETH_ONMESSAGE
,
EVENT_FORWARDBODY
/* FIXME: remove when we get the target right */
},
{
mousedownW
,
onmousedownW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEDOWN
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
|
EVENT_CANCELABLE
},
{
mousemoveW
,
onmousemoveW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEMOVE
,
...
...
dlls/mshtml/htmlevent.h
View file @
feed9d47
...
...
@@ -36,6 +36,7 @@ typedef enum {
EVENTID_KEYPRESS
,
EVENTID_KEYUP
,
EVENTID_LOAD
,
EVENTID_MESSAGE
,
EVENTID_MOUSEDOWN
,
EVENTID_MOUSEMOVE
,
EVENTID_MOUSEOUT
,
...
...
dlls/mshtml/htmlwindow.c
View file @
feed9d47
...
...
@@ -2148,15 +2148,19 @@ static HRESULT WINAPI HTMLWindow6_toStaticHTML(IHTMLWindow6 *iface, BSTR bstrHTM
static
HRESULT
WINAPI
HTMLWindow6_put_onmessage
(
IHTMLWindow6
*
iface
,
VARIANT
v
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow6
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_window_event
(
This
,
EVENTID_MESSAGE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLWindow6_get_onmessage
(
IHTMLWindow6
*
iface
,
VARIANT
*
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow6
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_window_event
(
This
,
EVENTID_MESSAGE
,
p
);
}
static
HRESULT
WINAPI
HTMLWindow6_msWriteProfilerMark
(
IHTMLWindow6
*
iface
,
BSTR
bstrProfilerMark
)
...
...
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