Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6e6cc7e2
Commit
6e6cc7e2
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 SelectElement methods up.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
7977a6bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
htmlselect.c
dlls/mshtml/htmlselect.c
+27
-27
No files found.
dlls/mshtml/htmlselect.c
View file @
6e6cc7e2
...
...
@@ -1313,6 +1313,23 @@ static inline HTMLSelectElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
return
CONTAINING_RECORD
(
iface
,
HTMLSelectElement
,
element
.
node
);
}
static
HRESULT
HTMLSelectElementImpl_put_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
v
)
{
HTMLSelectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
IHTMLSelectElement_put_disabled
(
&
This
->
IHTMLSelectElement_iface
,
v
);
}
static
HRESULT
HTMLSelectElementImpl_get_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
*
p
)
{
HTMLSelectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
IHTMLSelectElement_get_disabled
(
&
This
->
IHTMLSelectElement_iface
,
p
);
}
static
inline
HTMLSelectElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLSelectElement
,
element
.
node
.
event_target
.
dispex
);
}
static
void
*
HTMLSelectElement_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
)
{
HTMLSelectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
...
@@ -1327,16 +1344,20 @@ static void *HTMLSelectElement_QI(HTMLDOMNode *iface, REFIID riid)
return
HTMLElement_QI
(
&
This
->
element
.
node
,
riid
);
}
static
HRESULT
HTMLSelectElementImpl_put_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
v
)
static
void
HTMLSelectElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLSelectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
IHTMLSelectElement_put_disabled
(
&
This
->
IHTMLSelectElement_iface
,
v
);
HTMLSelectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsselect
)
note_cc_edge
((
nsISupports
*
)
This
->
nsselect
,
"nsselect"
,
cb
);
}
static
HRESULT
HTMLSelectElementImpl_get_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
*
p
)
static
void
HTMLSelectElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLSelectElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
IHTMLSelectElement_get_disabled
(
&
This
->
IHTMLSelectElement_iface
,
p
);
HTMLSelectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsselect
);
}
#define DISPID_OPTIONCOL_0 MSHTML_DISPID_CUSTOM_MIN
...
...
@@ -1406,27 +1427,6 @@ static HRESULT HTMLSelectElement_invoke(HTMLDOMNode *iface, DISPID id, LCID lcid
return
S_OK
;
}
static
inline
HTMLSelectElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLSelectElement
,
element
.
node
.
event_target
.
dispex
);
}
static
void
HTMLSelectElement_traverse
(
DispatchEx
*
dispex
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLSelectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_traverse
(
dispex
,
cb
);
if
(
This
->
nsselect
)
note_cc_edge
((
nsISupports
*
)
This
->
nsselect
,
"nsselect"
,
cb
);
}
static
void
HTMLSelectElement_unlink
(
DispatchEx
*
dispex
)
{
HTMLSelectElement
*
This
=
impl_from_DispatchEx
(
dispex
);
HTMLDOMNode_unlink
(
dispex
);
unlink_ref
(
&
This
->
nsselect
);
}
static
const
NodeImplVtbl
HTMLSelectElementImplVtbl
=
{
.
clsid
=
&
CLSID_HTMLSelectElement
,
.
qi
=
HTMLSelectElement_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