Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLButtonElement.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLBodyElement.h ('k') | gecko-sdk/include/nsIDOMHTMLCollection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0 -Release/WINNT_5.2_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLButtonElement.id l
3 */
4
5 #ifndef __gen_nsIDOMHTMLButtonElement_h__
6 #define __gen_nsIDOMHTMLButtonElement_h__
7
8
9 #ifndef __gen_nsIDOMHTMLElement_h__
10 #include "nsIDOMHTMLElement.h"
11 #endif
12
13 /* For IDL files that don't want to include root IDL files. */
14 #ifndef NS_NO_VTABLE
15 #define NS_NO_VTABLE
16 #endif
17
18 /* starting interface: nsIDOMHTMLButtonElement */
19 #define NS_IDOMHTMLBUTTONELEMENT_IID_STR "a6cf9095-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLBUTTONELEMENT_IID \
22 {0xa6cf9095, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLButtonElement interface is the interface to a [X]HTML
27 * button element.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-2-HTML/
31 *
32 * @status FROZEN
33 */
34 class NS_NO_VTABLE nsIDOMHTMLButtonElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBUTTONELEMENT_IID)
38
39 /* readonly attribute nsIDOMHTMLFormElement form; */
40 NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
41
42 /* attribute DOMString accessKey; */
43 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
44 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
45
46 /* attribute boolean disabled; */
47 NS_IMETHOD GetDisabled(PRBool *aDisabled) = 0;
48 NS_IMETHOD SetDisabled(PRBool aDisabled) = 0;
49
50 /* attribute DOMString name; */
51 NS_IMETHOD GetName(nsAString & aName) = 0;
52 NS_IMETHOD SetName(const nsAString & aName) = 0;
53
54 /* attribute long tabIndex; */
55 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) = 0;
56 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) = 0;
57
58 /* [noscript] readonly attribute DOMString type; */
59 NS_IMETHOD GetType(nsAString & aType) = 0;
60
61 /* attribute DOMString value; */
62 NS_IMETHOD GetValue(nsAString & aValue) = 0;
63 NS_IMETHOD SetValue(const nsAString & aValue) = 0;
64
65 };
66
67 /* Use this macro when declaring classes that implement this interface. */
68 #define NS_DECL_NSIDOMHTMLBUTTONELEMENT \
69 NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
70 NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
71 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
72 NS_IMETHOD GetDisabled(PRBool *aDisabled); \
73 NS_IMETHOD SetDisabled(PRBool aDisabled); \
74 NS_IMETHOD GetName(nsAString & aName); \
75 NS_IMETHOD SetName(const nsAString & aName); \
76 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex); \
77 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
78 NS_IMETHOD GetType(nsAString & aType); \
79 NS_IMETHOD GetValue(nsAString & aValue); \
80 NS_IMETHOD SetValue(const nsAString & aValue);
81
82 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
83 #define NS_FORWARD_NSIDOMHTMLBUTTONELEMENT(_to) \
84 NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm) ; } \
85 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAcc essKey); } \
86 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKe y(aAccessKey); } \
87 NS_IMETHOD GetDisabled(PRBool *aDisabled) { return _to GetDisabled(aDisabled); } \
88 NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
89 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
90 NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
91 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return _to GetTabIndex(aTabIndex) ; } \
92 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
93 NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
94 NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
95 NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); }
96
97 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
98 #define NS_FORWARD_SAFE_NSIDOMHTMLBUTTONELEMENT(_to) \
99 NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NU LL_POINTER : _to->GetForm(aForm); } \
100 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_ POINTER : _to->GetAccessKey(aAccessKey); } \
101 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR _NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
102 NS_IMETHOD GetDisabled(PRBool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetDisabled(aDisabled); } \
103 NS_IMETHOD SetDisabled(PRBool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
104 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
105 NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetName(aName); } \
106 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return !_to ? NS_ERROR_NULL_POINT ER : _to->GetTabIndex(aTabIndex); } \
107 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return !_to ? NS_ERROR_NULL_POINTE R : _to->SetTabIndex(aTabIndex); } \
108 NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
109 NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
110 NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetValue(aValue); }
111
112 #if 0
113 /* Use the code below as a template for the implementation class for this interf ace. */
114
115 /* Header file */
116 class nsDOMHTMLButtonElement : public nsIDOMHTMLButtonElement
117 {
118 public:
119 NS_DECL_ISUPPORTS
120 NS_DECL_NSIDOMHTMLBUTTONELEMENT
121
122 nsDOMHTMLButtonElement();
123
124 private:
125 ~nsDOMHTMLButtonElement();
126
127 protected:
128 /* additional members */
129 };
130
131 /* Implementation file */
132 NS_IMPL_ISUPPORTS1(nsDOMHTMLButtonElement, nsIDOMHTMLButtonElement)
133
134 nsDOMHTMLButtonElement::nsDOMHTMLButtonElement()
135 {
136 /* member initializers and constructor code */
137 }
138
139 nsDOMHTMLButtonElement::~nsDOMHTMLButtonElement()
140 {
141 /* destructor code */
142 }
143
144 /* readonly attribute nsIDOMHTMLFormElement form; */
145 NS_IMETHODIMP nsDOMHTMLButtonElement::GetForm(nsIDOMHTMLFormElement * *aForm)
146 {
147 return NS_ERROR_NOT_IMPLEMENTED;
148 }
149
150 /* attribute DOMString accessKey; */
151 NS_IMETHODIMP nsDOMHTMLButtonElement::GetAccessKey(nsAString & aAccessKey)
152 {
153 return NS_ERROR_NOT_IMPLEMENTED;
154 }
155 NS_IMETHODIMP nsDOMHTMLButtonElement::SetAccessKey(const nsAString & aAccessKey)
156 {
157 return NS_ERROR_NOT_IMPLEMENTED;
158 }
159
160 /* attribute boolean disabled; */
161 NS_IMETHODIMP nsDOMHTMLButtonElement::GetDisabled(PRBool *aDisabled)
162 {
163 return NS_ERROR_NOT_IMPLEMENTED;
164 }
165 NS_IMETHODIMP nsDOMHTMLButtonElement::SetDisabled(PRBool aDisabled)
166 {
167 return NS_ERROR_NOT_IMPLEMENTED;
168 }
169
170 /* attribute DOMString name; */
171 NS_IMETHODIMP nsDOMHTMLButtonElement::GetName(nsAString & aName)
172 {
173 return NS_ERROR_NOT_IMPLEMENTED;
174 }
175 NS_IMETHODIMP nsDOMHTMLButtonElement::SetName(const nsAString & aName)
176 {
177 return NS_ERROR_NOT_IMPLEMENTED;
178 }
179
180 /* attribute long tabIndex; */
181 NS_IMETHODIMP nsDOMHTMLButtonElement::GetTabIndex(PRInt32 *aTabIndex)
182 {
183 return NS_ERROR_NOT_IMPLEMENTED;
184 }
185 NS_IMETHODIMP nsDOMHTMLButtonElement::SetTabIndex(PRInt32 aTabIndex)
186 {
187 return NS_ERROR_NOT_IMPLEMENTED;
188 }
189
190 /* [noscript] readonly attribute DOMString type; */
191 NS_IMETHODIMP nsDOMHTMLButtonElement::GetType(nsAString & aType)
192 {
193 return NS_ERROR_NOT_IMPLEMENTED;
194 }
195
196 /* attribute DOMString value; */
197 NS_IMETHODIMP nsDOMHTMLButtonElement::GetValue(nsAString & aValue)
198 {
199 return NS_ERROR_NOT_IMPLEMENTED;
200 }
201 NS_IMETHODIMP nsDOMHTMLButtonElement::SetValue(const nsAString & aValue)
202 {
203 return NS_ERROR_NOT_IMPLEMENTED;
204 }
205
206 /* End of implementation class template. */
207 #endif
208
209
210 #endif /* __gen_nsIDOMHTMLButtonElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLBodyElement.h ('k') | gecko-sdk/include/nsIDOMHTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698