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
0593b1d2
Commit
0593b1d2
authored
Sep 18, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Sep 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move some AreaElement methods up.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
65287103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
htmlarea.c
dlls/mshtml/htmlarea.c
+21
-21
No files found.
dlls/mshtml/htmlarea.c
View file @
0593b1d2
...
...
@@ -413,6 +413,11 @@ static inline HTMLAreaElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
return
CONTAINING_RECORD
(
iface
,
HTMLAreaElement
,
element
.
node
);
}
static
inline
HTMLAreaElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLAreaElement
,
element
.
node
.
event_target
.
dispex
);
}
static
void
*
HTMLAreaElement_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
)
{
HTMLAreaElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -423,6 +428,22 @@ static void *HTMLAreaElement_QI(HTMLDOMNode *iface, REFIID riid)
return
HTMLElement_QI
(
&
This
->
element
.
node
,
riid
);
}
static
void
HTMLAreaElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLAreaElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsarea
)
note_cc_edge
((
nsISupports
*
)
This
->
nsarea
,
"nsarea"
,
cb
);
}
static
void
HTMLAreaElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLAreaElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsarea
);
}
static
HRESULT
HTMLAreaElement_handle_event
(
HTMLDOMNode
*
iface
,
DWORD
eid
,
nsIDOMEvent
*
event
,
BOOL
*
prevent_default
)
{
HTMLAreaElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -454,27 +475,6 @@ fallback:
return
HTMLElement_handle_event
(
&
This
->
element
.
node
,
eid
,
event
,
prevent_default
);
}
static
inline
HTMLAreaElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLAreaElement
,
element
.
node
.
event_target
.
dispex
);
}
static
void
HTMLAreaElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLAreaElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsarea
)
note_cc_edge
((
nsISupports
*
)
This
->
nsarea
,
"nsarea"
,
cb
);
}
static
void
HTMLAreaElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLAreaElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsarea
);
}
static
const
NodeImplVtbl
HTMLAreaElementImplVtbl
=
{
.
clsid
=
&
CLSID_HTMLAreaElement
,
.
qi
=
HTMLAreaElement_QI
,
...
...
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