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
8b3eab6e
Commit
8b3eab6e
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 IHTMLInputElement implementation.
parent
3d685993
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
1 deletion
+68
-1
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
htmlelem.c
dlls/mshtml/htmlelem.c
+18
-1
htmlinput.c
dlls/mshtml/htmlinput.c
+0
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsiface.idl
dlls/mshtml/nsiface.idl
+48
-0
No files found.
dlls/mshtml/Makefile.in
View file @
8b3eab6e
...
...
@@ -13,6 +13,7 @@ C_SRCS = \
htmldoc.c
\
htmldoc3.c
\
htmlelem.c
\
htmlinput.c
\
htmlnode.c
\
main.c
\
navigate.c
\
...
...
dlls/mshtml/htmlelem.c
View file @
8b3eab6e
...
...
@@ -918,6 +918,11 @@ static const IHTMLElementVtbl HTMLElementVtbl = {
void
HTMLElement_Create
(
HTMLDOMNode
*
node
)
{
HTMLElement
*
ret
;
nsAString
class_name_str
;
const
PRUnichar
*
class_name
;
nsresult
nsres
;
static
const
WCHAR
wszINPUT
[]
=
{
'I'
,
'N'
,
'P'
,
'U'
,
'T'
,
0
};
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
HTMLElement
));
ret
->
lpHTMLElementVtbl
=
&
HTMLElementVtbl
;
...
...
@@ -929,7 +934,19 @@ void HTMLElement_Create(HTMLDOMNode *node)
node
->
impl
.
elem
=
HTMLELEM
(
ret
);
node
->
destructor
=
HTMLElement_destructor
;
nsIDOMNode_QueryInterface
(
node
->
nsnode
,
&
IID_nsIDOMHTMLElement
,
(
void
**
)
&
ret
->
nselem
);
nsres
=
nsIDOMNode_QueryInterface
(
node
->
nsnode
,
&
IID_nsIDOMHTMLElement
,
(
void
**
)
&
ret
->
nselem
);
if
(
NS_FAILED
(
nsres
))
return
;
nsAString_Init
(
&
class_name_str
,
NULL
);
nsIDOMHTMLElement_GetTagName
(
ret
->
nselem
,
&
class_name_str
);
nsAString_GetData
(
&
class_name_str
,
&
class_name
,
NULL
);
if
(
!
strcmpW
(
class_name
,
wszINPUT
))
HTMLInputElement_Create
(
ret
);
nsAString_Finish
(
&
class_name_str
);
}
typedef
struct
{
...
...
dlls/mshtml/htmlinput.c
0 → 100644
View file @
8b3eab6e
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
View file @
8b3eab6e
...
...
@@ -212,6 +212,7 @@ nsIInputStream *create_nsstream(const char*,PRInt32);
IHlink
*
Hlink_Create
(
void
);
void
HTMLElement_Create
(
HTMLDOMNode
*
);
void
HTMLInputElement_Create
(
HTMLElement
*
);
HTMLDOMNode
*
get_node
(
HTMLDocument
*
,
nsIDOMNode
*
);
void
release_nodes
(
HTMLDocument
*
);
...
...
dlls/mshtml/nsiface.idl
View file @
8b3eab6e
...
...
@@ -100,6 +100,7 @@ typedef nsISupports nsIDOMComment;
typedef nsISupports nsIDOMCDATASection;
typedef nsISupports nsIDOMProcessingInstruction;
typedef nsISupports nsIDOMEntityReference;
typedef nsISupports nsIDOMHTMLFormElement;
[
object,
...
...
@@ -462,6 +463,53 @@ interface nsIDOMWindow : nsISupports
[
object,
uuid(a6cf9093-15b3-11d2-932e-00805f8add32)
]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
{
nsresult GetDefaultValue(nsAString *aDefaultValue);
nsresult SetDefaultValue(const nsAString *aDefaultValue);
nsresult GetDefaultChecked(PRBool *aDefaultChecked);
nsresult SetDefaultChecked(PRBool aDefaultChecked);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetAccept(nsAString *aAccept);
nsresult SetAccept(const nsAString *aAccept);
nsresult GetAccessKey(nsAString *aAccessKey);
nsresult SetAccessKey(const nsAString *aAccessKey);
nsresult GetAlign(nsAString *aAlign);
nsresult SetAlign(const nsAString *aAlign);
nsresult GetAlt(nsAString *aAlt);
nsresult SetAlt(const nsAString *aAlt);
nsresult GetChecked(PRBool *aChecked);
nsresult SetChecked(PRBool aChecked);
nsresult GetDisabled(PRBool *aDisabled);
nsresult SetDisabled(PRBool aDisabled);
nsresult GetMaxLength(PRInt32 *aMaxLength);
nsresult SetMaxLength(PRInt32 aMaxLength);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetReadOnly(PRBool *aReadOnly);
nsresult SetReadOnly(PRBool aReadOnly);
nsresult GetSize(PRUint32 *aSize);
nsresult SetSize(PRUint32 aSize);
nsresult GetSrc(nsAString *aSrc);
nsresult SetSrc(const nsAString *aSrc);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult GetType(nsAString *aType);
nsresult SetType(const nsAString *aType);
nsresult GetUseMap(nsAString *aUseMap);
nsresult SetUseMap(const nsAString *aUseMap);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult Blur();
nsresult Focus();
nsresult Select();
nsresult Click();
}
[
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