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
de998b95
Commit
de998b95
authored
Feb 15, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement4::onbeforeactivate property implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8dce1975
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 @
de998b95
...
...
@@ -3865,15 +3865,19 @@ static HRESULT WINAPI HTMLElement4_removeAttributeNode(IHTMLElement4 *iface, IHT
static
HRESULT
WINAPI
HTMLElement4_put_onbeforeactivate
(
IHTMLElement4
*
iface
,
VARIANT
v
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement4
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_BEFOREACTIVATE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLElement4_get_onbeforeactivate
(
IHTMLElement4
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement4
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_BEFOREACTIVATE
,
p
);
}
static
HRESULT
WINAPI
HTMLElement4_put_onfocusin
(
IHTMLElement4
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlevent.c
View file @
de998b95
...
...
@@ -46,6 +46,9 @@ typedef struct {
static
const
WCHAR
abortW
[]
=
{
'a'
,
'b'
,
'o'
,
'r'
,
't'
,
0
};
static
const
WCHAR
onabortW
[]
=
{
'o'
,
'n'
,
'a'
,
'b'
,
'o'
,
'r'
,
't'
,
0
};
static
const
WCHAR
beforeactivateW
[]
=
{
'b'
,
'e'
,
'f'
,
'o'
,
'r'
,
'e'
,
'a'
,
'c'
,
't'
,
'i'
,
'v'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
onbeforeactivateW
[]
=
{
'o'
,
'n'
,
'b'
,
'e'
,
'f'
,
'o'
,
'r'
,
'e'
,
'a'
,
'c'
,
't'
,
'i'
,
'v'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
beforeunloadW
[]
=
{
'b'
,
'e'
,
'f'
,
'o'
,
'r'
,
'e'
,
'u'
,
'n'
,
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
onbeforeunloadW
[]
=
{
'o'
,
'n'
,
'b'
,
'e'
,
'f'
,
'o'
,
'r'
,
'e'
,
'u'
,
'n'
,
'l'
,
'o'
,
'a'
,
'd'
,
0
};
...
...
@@ -179,6 +182,8 @@ typedef struct {
static
const
event_info_t
event_info
[]
=
{
{
abortW
,
onabortW
,
EVENTT_NONE
,
DISPID_EVMETH_ONABORT
,
EVENT_BIND_TO_BODY
},
{
beforeactivateW
,
onbeforeactivateW
,
EVENTT_NONE
,
DISPID_EVMETH_ONBEFOREACTIVATE
,
EVENT_FIXME
},
{
beforeunloadW
,
onbeforeunloadW
,
EVENTT_NONE
,
DISPID_EVMETH_ONBEFOREUNLOAD
,
EVENT_DEFAULTLISTENER
|
EVENT_FORWARDBODY
},
{
blurW
,
onblurW
,
EVENTT_HTML
,
DISPID_EVMETH_ONBLUR
,
...
...
dlls/mshtml/htmlevent.h
View file @
de998b95
...
...
@@ -18,6 +18,7 @@
typedef
enum
{
EVENTID_ABORT
,
EVENTID_BEFOREACTIVATE
,
EVENTID_BEFOREUNLOAD
,
EVENTID_BLUR
,
EVENTID_CHANGE
,
...
...
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