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
54cce2e7
Commit
54cce2e7
authored
Mar 06, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLSelectElement implementation.
parent
8b3eab6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
0 deletions
+37
-0
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+3
-0
htmlselect.c
dlls/mshtml/htmlselect.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsiface.idl
dlls/mshtml/nsiface.idl
+32
-0
No files found.
dlls/mshtml/Makefile.in
View file @
54cce2e7
...
...
@@ -15,6 +15,7 @@ C_SRCS = \
htmlelem.c
\
htmlinput.c
\
htmlnode.c
\
htmlselect.c
\
main.c
\
navigate.c
\
nsembed.c
\
...
...
dlls/mshtml/htmlelem.c
View file @
54cce2e7
...
...
@@ -923,6 +923,7 @@ void HTMLElement_Create(HTMLDOMNode *node)
nsresult
nsres
;
static
const
WCHAR
wszINPUT
[]
=
{
'I'
,
'N'
,
'P'
,
'U'
,
'T'
,
0
};
static
const
WCHAR
wszSELECT
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
0
};
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
HTMLElement
));
ret
->
lpHTMLElementVtbl
=
&
HTMLElementVtbl
;
...
...
@@ -945,6 +946,8 @@ void HTMLElement_Create(HTMLDOMNode *node)
if
(
!
strcmpW
(
class_name
,
wszINPUT
))
HTMLInputElement_Create
(
ret
);
else
if
(
!
strcmpW
(
class_name
,
wszSELECT
))
HTMLSelectElement_Create
(
ret
);
nsAString_Finish
(
&
class_name_str
);
}
...
...
dlls/mshtml/htmlselect.c
0 → 100644
View file @
54cce2e7
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
54cce2e7
...
...
@@ -213,6 +213,7 @@ IHlink *Hlink_Create(void);
void
HTMLElement_Create
(
HTMLDOMNode
*
);
void
HTMLInputElement_Create
(
HTMLElement
*
);
void
HTMLSelectElement_Create
(
HTMLElement
*
);
HTMLDOMNode
*
get_node
(
HTMLDocument
*
,
nsIDOMNode
*
);
void
release_nodes
(
HTMLDocument
*
);
...
...
dlls/mshtml/nsiface.idl
View file @
54cce2e7
...
...
@@ -101,6 +101,7 @@ typedef nsISupports nsIDOMCDATASection;
typedef nsISupports nsIDOMProcessingInstruction;
typedef nsISupports nsIDOMEntityReference;
typedef nsISupports nsIDOMHTMLFormElement;
typedef nsISupports nsIDOMHTMLOptionsCollection;
[
object,
...
...
@@ -510,6 +511,37 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
[
object,
uuid(a6cf9090-15b3-11d2-932e-00805f8add32)
]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
{
nsresult GetType(nsAString *aType);
nsresult GetSelectedIndex(PRInt32 *aSelectedIndex);
nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetLength(PRUint32 *aLength);
nsresult SetLength(PRUint32 aLength);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetOptions(nsIDOMHTMLOptionsCollection **aOptions);
nsresult GetDisabled(PRBool *aDisabled);
nsresult SetDisabled(PRBool aDisabled);
nsresult GetMultiple(PRBool *aMultiple);
nsresult SetMultiple(PRBool aMultiple);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetSize(PRInt32 *aSize);
nsresult SetSize(PRInt32 aSize);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult Add(nsIDOMHTMLElement *element, nsIDOMHTMLElement *before);
nsresult Remove(PRInt32 index);
nsresult Blur();
nsresult Focus();
}
[
object,
uuid(94928ab3-8b63-11d3-989d-001083010e9b)
]
interface nsIURIContentListener : nsISupports
...
...
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