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
74453fb0
Commit
74453fb0
authored
Sep 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added HTMLElement::ondataavailable implementation.
parent
b9fa73a7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
htmlelem.c
dlls/mshtml/htmlelem.c
+8
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
No files found.
dlls/mshtml/htmlelem.c
View file @
74453fb0
...
...
@@ -1358,15 +1358,19 @@ static HRESULT WINAPI HTMLElement_get_ondatasetchanged(IHTMLElement *iface, VARI
static
HRESULT
WINAPI
HTMLElement_put_ondataavailable
(
IHTMLElement
*
iface
,
VARIANT
v
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
FIXME
(
"(%p)->(%s) semi-stub
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_DATAAVAILABLE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLElement_get_ondataavailable
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_DATAAVAILABLE
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_put_ondatasetcomplete
(
IHTMLElement
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlevent.c
View file @
74453fb0
...
...
@@ -59,6 +59,9 @@ static const WCHAR onclickW[] = {'o','n','c','l','i','c','k',0};
static
const
WCHAR
contextmenuW
[]
=
{
'c'
,
'o'
,
'n'
,
't'
,
'e'
,
'x'
,
't'
,
'm'
,
'e'
,
'n'
,
'u'
,
0
};
static
const
WCHAR
oncontextmenuW
[]
=
{
'o'
,
'n'
,
'c'
,
'o'
,
'n'
,
't'
,
'e'
,
'x'
,
't'
,
'm'
,
'e'
,
'n'
,
'u'
,
0
};
static
const
WCHAR
dataavailableW
[]
=
{
'd'
,
'a'
,
't'
,
'a'
,
'a'
,
'v'
,
'a'
,
'i'
,
'l'
,
'a'
,
'b'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
ondataavailableW
[]
=
{
'o'
,
'n'
,
'd'
,
'a'
,
't'
,
'a'
,
'a'
,
'v'
,
'a'
,
'i'
,
'l'
,
'a'
,
'b'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
dblclickW
[]
=
{
'd'
,
'b'
,
'l'
,
'c'
,
'l'
,
'i'
,
'c'
,
'k'
,
0
};
static
const
WCHAR
ondblclickW
[]
=
{
'o'
,
'n'
,
'd'
,
'b'
,
'l'
,
'c'
,
'l'
,
'i'
,
'c'
,
'k'
,
0
};
...
...
@@ -166,6 +169,8 @@ static const event_info_t event_info[] = {
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
|
EVENT_CANCELABLE
|
EVENT_HASDEFAULTHANDLERS
},
{
contextmenuW
,
oncontextmenuW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONCONTEXTMENU
,
EVENT_BUBBLE
|
EVENT_CANCELABLE
},
{
dataavailableW
,
ondataavailableW
,
EVENTT_NONE
,
DISPID_EVMETH_ONDATAAVAILABLE
,
EVENT_BUBBLE
},
{
dblclickW
,
ondblclickW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONDBLCLICK
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
|
EVENT_CANCELABLE
},
{
dragW
,
ondragW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONDRAG
,
...
...
dlls/mshtml/htmlevent.h
View file @
74453fb0
...
...
@@ -22,6 +22,7 @@ typedef enum {
EVENTID_CHANGE
,
EVENTID_CLICK
,
EVENTID_CONTEXTMENU
,
EVENTID_DATAAVAILABLE
,
EVENTID_DBLCLICK
,
EVENTID_DRAG
,
EVENTID_DRAGSTART
,
...
...
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