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
7293e841
Commit
7293e841
authored
Sep 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow2::onscroll implementation.
parent
bdcc88a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+8
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
7293e841
...
@@ -113,6 +113,9 @@ static const WCHAR onreadystatechangeW[] = {'o','n','r','e','a','d','y','s','t',
...
@@ -113,6 +113,9 @@ static const WCHAR onreadystatechangeW[] = {'o','n','r','e','a','d','y','s','t',
static
const
WCHAR
resizeW
[]
=
{
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
resizeW
[]
=
{
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
onresizeW
[]
=
{
'o'
,
'n'
,
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
onresizeW
[]
=
{
'o'
,
'n'
,
'r'
,
'e'
,
's'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
scrollW
[]
=
{
's'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
0
};
static
const
WCHAR
onscrollW
[]
=
{
'o'
,
'n'
,
's'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
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
};
...
@@ -199,6 +202,8 @@ static const event_info_t event_info[] = {
...
@@ -199,6 +202,8 @@ static const event_info_t event_info[] = {
0
},
0
},
{
resizeW
,
onresizeW
,
EVENTT_NONE
,
DISPID_EVMETH_ONRESIZE
,
{
resizeW
,
onresizeW
,
EVENTT_NONE
,
DISPID_EVMETH_ONRESIZE
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
scrollW
,
onscrollW
,
EVENTT_HTML
,
DISPID_EVMETH_ONSCROLL
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
selectstartW
,
onselectstartW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONSELECTSTART
,
{
selectstartW
,
onselectstartW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONSELECTSTART
,
EVENT_CANCELABLE
},
EVENT_CANCELABLE
},
{
submitW
,
onsubmitW
,
EVENTT_HTML
,
DISPID_EVMETH_ONSUBMIT
,
{
submitW
,
onsubmitW
,
EVENTT_HTML
,
DISPID_EVMETH_ONSUBMIT
,
...
...
dlls/mshtml/htmlevent.h
View file @
7293e841
...
@@ -40,6 +40,7 @@ typedef enum {
...
@@ -40,6 +40,7 @@ typedef enum {
EVENTID_PASTE
,
EVENTID_PASTE
,
EVENTID_READYSTATECHANGE
,
EVENTID_READYSTATECHANGE
,
EVENTID_RESIZE
,
EVENTID_RESIZE
,
EVENTID_SCROLL
,
EVENTID_SELECTSTART
,
EVENTID_SELECTSTART
,
EVENTID_SUBMIT
,
EVENTID_SUBMIT
,
EVENTID_LAST
EVENTID_LAST
...
...
dlls/mshtml/htmlwindow.c
View file @
7293e841
...
@@ -1075,15 +1075,19 @@ static HRESULT WINAPI HTMLWindow2_get_onresize(IHTMLWindow2 *iface, VARIANT *p)
...
@@ -1075,15 +1075,19 @@ static HRESULT WINAPI HTMLWindow2_get_onresize(IHTMLWindow2 *iface, VARIANT *p)
static
HRESULT
WINAPI
HTMLWindow2_put_onscroll
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLWindow2_put_onscroll
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
{
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
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_SCROLL
,
&
v
);
}
}
static
HRESULT
WINAPI
HTMLWindow2_get_onscroll
(
IHTMLWindow2
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLWindow2_get_onscroll
(
IHTMLWindow2
*
iface
,
VARIANT
*
p
)
{
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_window_event
(
This
,
EVENTID_SCROLL
,
p
);
}
}
static
HRESULT
WINAPI
HTMLWindow2_get_document
(
IHTMLWindow2
*
iface
,
IHTMLDocument2
**
p
)
static
HRESULT
WINAPI
HTMLWindow2_get_document
(
IHTMLWindow2
*
iface
,
IHTMLDocument2
**
p
)
...
...
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