mshtml: Added IHTMLWindow6::onmessage property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2ea84373cf
commit
feed9d4750
|
@ -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,
|
||||
|
|
|
@ -36,6 +36,7 @@ typedef enum {
|
|||
EVENTID_KEYPRESS,
|
||||
EVENTID_KEYUP,
|
||||
EVENTID_LOAD,
|
||||
EVENTID_MESSAGE,
|
||||
EVENTID_MOUSEDOWN,
|
||||
EVENTID_MOUSEMOVE,
|
||||
EVENTID_MOUSEOUT,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue