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
b86825ac
Commit
b86825ac
authored
May 17, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
May 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Implement supported IHTMLWindow7 event properties.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a30a4452
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
18 deletions
+32
-18
htmlwindow.c
dlls/mshtml/htmlwindow.c
+32
-18
No files found.
dlls/mshtml/htmlwindow.c
View file @
b86825ac
...
...
@@ -2383,7 +2383,21 @@ static HRESULT WINAPI HTMLWindow7_get_outerHeight(IHTMLWindow7 *iface, LONG *p)
return
E_NOTIMPL
;
}
#define HTMLWINDOW7_ONEVENT_PROPERTY_STUB(name) \
#define HTMLWINDOW7_ONEVENT_PROPERTY_IMPL(name, event_id) \
static HRESULT WINAPI HTMLWindow7_put_on##name(IHTMLWindow7 *iface, VARIANT v) \
{ \
HTMLWindow *This = impl_from_IHTMLWindow7(iface); \
TRACE("(%p)->(%s)\n", This, debugstr_variant(&v)); \
return set_window_event(This, event_id, &v); \
} \
static HRESULT WINAPI HTMLWindow7_get_on##name(IHTMLWindow7 *iface, VARIANT *p) \
{ \
HTMLWindow *This = impl_from_IHTMLWindow7(iface); \
TRACE("(%p)->(%p)\n", This, p); \
return get_window_event(This, event_id, p); \
}
#define HTMLWINDOW7_ONEVENT_PROPERTY_STUB(name) \
static HRESULT WINAPI HTMLWindow7_put_on##name(IHTMLWindow7 *iface, VARIANT v) \
{ \
HTMLWindow *This = impl_from_IHTMLWindow7(iface); \
...
...
@@ -2397,52 +2411,52 @@ static HRESULT WINAPI HTMLWindow7_get_outerHeight(IHTMLWindow7 *iface, LONG *p)
return E_NOTIMPL; \
}
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
abort
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
abort
,
EVENTID_ABORT
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
canplay
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
canplaythrough
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
change
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
click
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
contextmenu
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
dblclick
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
drag
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
contextmenu
,
EVENTID_CONTEXTMENU
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
dblclick
,
EVENTID_DBLCLICK
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
drag
,
EVENTID_DRAG
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
dragend
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
dragenter
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
dragleave
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
dragover
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
dragstart
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
dragstart
,
EVENTID_DRAGSTART
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
drop
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
durationchange
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
focusin
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
focusout
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
focusin
,
EVENTID_FOCUSIN
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
focusout
,
EVENTID_FOCUSOUT
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
input
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
emptied
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
ended
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
keydown
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
keypress
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
keydown
,
EVENTID_KEYDOWN
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
keypress
,
EVENTID_KEYPRESS
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
keyup
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
loadeddata
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
loadedmetadata
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
loadstart
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mousedown
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mousedown
,
EVENTID_MOUSEDOWN
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
mouseenter
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
mouseleave
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mousemove
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mouseout
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mouseover
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mouseup
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
mousewheel
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mousemove
,
EVENTID_MOUSEMOVE
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mouseout
,
EVENTID_MOUSEOUT
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mouseover
,
EVENTID_MOUSEOVER
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mouseup
,
EVENTID_MOUSEUP
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
mousewheel
,
EVENTID_MOUSEWHEEL
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
offline
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
online
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
progress
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
ratechange
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
readystatechange
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
readystatechange
,
EVENTID_READYSTATECHANGE
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
reset
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
seeked
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
seeking
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
select
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
stalled
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
storage
)
HTMLWINDOW7_ONEVENT_PROPERTY_
STUB
(
submit
)
HTMLWINDOW7_ONEVENT_PROPERTY_
IMPL
(
submit
,
EVENTID_SUBMIT
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
suspend
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
timeupdate
)
HTMLWINDOW7_ONEVENT_PROPERTY_STUB
(
pause
)
...
...
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