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
ee5d6784
Commit
ee5d6784
authored
Sep 14, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added semi-stub IHTMLElement2::onreadystatechange implmementation.
parent
3130898e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
htmlelem2.c
dlls/mshtml/htmlelem2.c
+8
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+4
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
No files found.
dlls/mshtml/htmlelem2.c
View file @
ee5d6784
...
@@ -628,15 +628,19 @@ static HRESULT WINAPI HTMLElement2_get_readyState(IHTMLElement2 *iface, VARIANT
...
@@ -628,15 +628,19 @@ static HRESULT WINAPI HTMLElement2_get_readyState(IHTMLElement2 *iface, VARIANT
static
HRESULT
WINAPI
HTMLElement2_put_onreadystatechange
(
IHTMLElement2
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLElement2_put_onreadystatechange
(
IHTMLElement2
*
iface
,
VARIANT
v
)
{
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
FIXME
(
"(%p)->(%s): semi-stub
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_READYSTATECHANGE
,
&
v
);
}
}
static
HRESULT
WINAPI
HTMLElement2_get_onreadystatechange
(
IHTMLElement2
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLElement2_get_onreadystatechange
(
IHTMLElement2
*
iface
,
VARIANT
*
p
)
{
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_READYSTATECHANGE
,
p
);
}
}
static
HRESULT
WINAPI
HTMLElement2_put_onrowsdelete
(
IHTMLElement2
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLElement2_put_onrowsdelete
(
IHTMLElement2
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlevent.c
View file @
ee5d6784
...
@@ -90,6 +90,9 @@ static const WCHAR onmouseupW[] = {'o','n','m','o','u','s','e','u','p',0};
...
@@ -90,6 +90,9 @@ static const WCHAR onmouseupW[] = {'o','n','m','o','u','s','e','u','p',0};
static
const
WCHAR
pasteW
[]
=
{
'p'
,
'a'
,
's'
,
't'
,
'e'
,
0
};
static
const
WCHAR
pasteW
[]
=
{
'p'
,
'a'
,
's'
,
't'
,
'e'
,
0
};
static
const
WCHAR
onpasteW
[]
=
{
'o'
,
'n'
,
'p'
,
'a'
,
's'
,
't'
,
'e'
,
0
};
static
const
WCHAR
onpasteW
[]
=
{
'o'
,
'n'
,
'p'
,
'a'
,
's'
,
't'
,
'e'
,
0
};
static
const
WCHAR
readystatechangeW
[]
=
{
'r'
,
'e'
,
'a'
,
'd'
,
'y'
,
's'
,
't'
,
'a'
,
't'
,
'e'
,
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
onreadystatechangeW
[]
=
{
'o'
,
'n'
,
'r'
,
'e'
,
'a'
,
'd'
,
'y'
,
's'
,
't'
,
'a'
,
't'
,
'e'
,
'c'
,
'h'
,
'a'
,
'n'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
selectstartW
[]
=
{
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
selectstartW
[]
=
{
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
onselectstartW
[]
=
{
'o'
,
'n'
,
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
onselectstartW
[]
=
{
'o'
,
'n'
,
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
...
@@ -120,6 +123,7 @@ static const event_info_t event_info[] = {
...
@@ -120,6 +123,7 @@ static const event_info_t event_info[] = {
{
mouseoverW
,
onmouseoverW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseoverW
,
onmouseoverW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseupW
,
onmouseupW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseupW
,
onmouseupW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
pasteW
,
onpasteW
,
0
},
{
pasteW
,
onpasteW
,
0
},
{
readystatechangeW
,
onreadystatechangeW
,
0
},
{
selectstartW
,
onselectstartW
,
0
}
{
selectstartW
,
onselectstartW
,
0
}
};
};
...
...
dlls/mshtml/htmlevent.h
View file @
ee5d6784
...
@@ -33,6 +33,7 @@ typedef enum {
...
@@ -33,6 +33,7 @@ typedef enum {
EVENTID_MOUSEOVER
,
EVENTID_MOUSEOVER
,
EVENTID_MOUSEUP
,
EVENTID_MOUSEUP
,
EVENTID_PASTE
,
EVENTID_PASTE
,
EVENTID_READYSTATECHANGE
,
EVENTID_SELECTSTART
,
EVENTID_SELECTSTART
,
EVENTID_LAST
EVENTID_LAST
}
eventid_t
;
}
eventid_t
;
...
...
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