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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLAreaElement.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/nsIDOMHTMLAppletElement.h ('k') | gecko-sdk/include/nsIDOMHTMLBRElement.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/nsIDOMHTMLAreaElement.idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLAreaElement_h__
6 #define __gen_nsIDOMHTMLAreaElement_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: nsIDOMHTMLAreaElement */
19 #define NS_IDOMHTMLAREAELEMENT_IID_STR "a6cf90b0-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLAREAELEMENT_IID \
22 {0xa6cf90b0, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLAreaElement interface is the interface to a [X]HTML
27 * area 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 nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAREAELEMENT_IID)
38
39 /* attribute DOMString accessKey; */
40 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
41 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
42
43 /* attribute DOMString alt; */
44 NS_IMETHOD GetAlt(nsAString & aAlt) = 0;
45 NS_IMETHOD SetAlt(const nsAString & aAlt) = 0;
46
47 /* attribute DOMString coords; */
48 NS_IMETHOD GetCoords(nsAString & aCoords) = 0;
49 NS_IMETHOD SetCoords(const nsAString & aCoords) = 0;
50
51 /* attribute DOMString href; */
52 NS_IMETHOD GetHref(nsAString & aHref) = 0;
53 NS_IMETHOD SetHref(const nsAString & aHref) = 0;
54
55 /* attribute boolean noHref; */
56 NS_IMETHOD GetNoHref(PRBool *aNoHref) = 0;
57 NS_IMETHOD SetNoHref(PRBool aNoHref) = 0;
58
59 /* attribute DOMString shape; */
60 NS_IMETHOD GetShape(nsAString & aShape) = 0;
61 NS_IMETHOD SetShape(const nsAString & aShape) = 0;
62
63 /* attribute long tabIndex; */
64 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) = 0;
65 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) = 0;
66
67 /* attribute DOMString target; */
68 NS_IMETHOD GetTarget(nsAString & aTarget) = 0;
69 NS_IMETHOD SetTarget(const nsAString & aTarget) = 0;
70
71 };
72
73 /* Use this macro when declaring classes that implement this interface. */
74 #define NS_DECL_NSIDOMHTMLAREAELEMENT \
75 NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
76 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
77 NS_IMETHOD GetAlt(nsAString & aAlt); \
78 NS_IMETHOD SetAlt(const nsAString & aAlt); \
79 NS_IMETHOD GetCoords(nsAString & aCoords); \
80 NS_IMETHOD SetCoords(const nsAString & aCoords); \
81 NS_IMETHOD GetHref(nsAString & aHref); \
82 NS_IMETHOD SetHref(const nsAString & aHref); \
83 NS_IMETHOD GetNoHref(PRBool *aNoHref); \
84 NS_IMETHOD SetNoHref(PRBool aNoHref); \
85 NS_IMETHOD GetShape(nsAString & aShape); \
86 NS_IMETHOD SetShape(const nsAString & aShape); \
87 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex); \
88 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
89 NS_IMETHOD GetTarget(nsAString & aTarget); \
90 NS_IMETHOD SetTarget(const nsAString & aTarget);
91
92 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
93 #define NS_FORWARD_NSIDOMHTMLAREAELEMENT(_to) \
94 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAcc essKey); } \
95 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKe y(aAccessKey); } \
96 NS_IMETHOD GetAlt(nsAString & aAlt) { return _to GetAlt(aAlt); } \
97 NS_IMETHOD SetAlt(const nsAString & aAlt) { return _to SetAlt(aAlt); } \
98 NS_IMETHOD GetCoords(nsAString & aCoords) { return _to GetCoords(aCoords); } \
99 NS_IMETHOD SetCoords(const nsAString & aCoords) { return _to SetCoords(aCoords ); } \
100 NS_IMETHOD GetHref(nsAString & aHref) { return _to GetHref(aHref); } \
101 NS_IMETHOD SetHref(const nsAString & aHref) { return _to SetHref(aHref); } \
102 NS_IMETHOD GetNoHref(PRBool *aNoHref) { return _to GetNoHref(aNoHref); } \
103 NS_IMETHOD SetNoHref(PRBool aNoHref) { return _to SetNoHref(aNoHref); } \
104 NS_IMETHOD GetShape(nsAString & aShape) { return _to GetShape(aShape); } \
105 NS_IMETHOD SetShape(const nsAString & aShape) { return _to SetShape(aShape); } \
106 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return _to GetTabIndex(aTabIndex) ; } \
107 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
108 NS_IMETHOD GetTarget(nsAString & aTarget) { return _to GetTarget(aTarget); } \
109 NS_IMETHOD SetTarget(const nsAString & aTarget) { return _to SetTarget(aTarget ); }
110
111 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
112 #define NS_FORWARD_SAFE_NSIDOMHTMLAREAELEMENT(_to) \
113 NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_ POINTER : _to->GetAccessKey(aAccessKey); } \
114 NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR _NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
115 NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _t o->GetAlt(aAlt); } \
116 NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTE R : _to->SetAlt(aAlt); } \
117 NS_IMETHOD GetCoords(nsAString & aCoords) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetCoords(aCoords); } \
118 NS_IMETHOD SetCoords(const nsAString & aCoords) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetCoords(aCoords); } \
119 NS_IMETHOD GetHref(nsAString & aHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
120 NS_IMETHOD SetHref(const nsAString & aHref) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetHref(aHref); } \
121 NS_IMETHOD GetNoHref(PRBool *aNoHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoHref(aNoHref); } \
122 NS_IMETHOD SetNoHref(PRBool aNoHref) { return !_to ? NS_ERROR_NULL_POINTER : _ to->SetNoHref(aNoHref); } \
123 NS_IMETHOD GetShape(nsAString & aShape) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShape(aShape); } \
124 NS_IMETHOD SetShape(const nsAString & aShape) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetShape(aShape); } \
125 NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return !_to ? NS_ERROR_NULL_POINT ER : _to->GetTabIndex(aTabIndex); } \
126 NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return !_to ? NS_ERROR_NULL_POINTE R : _to->SetTabIndex(aTabIndex); } \
127 NS_IMETHOD GetTarget(nsAString & aTarget) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetTarget(aTarget); } \
128 NS_IMETHOD SetTarget(const nsAString & aTarget) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetTarget(aTarget); }
129
130 #if 0
131 /* Use the code below as a template for the implementation class for this interf ace. */
132
133 /* Header file */
134 class nsDOMHTMLAreaElement : public nsIDOMHTMLAreaElement
135 {
136 public:
137 NS_DECL_ISUPPORTS
138 NS_DECL_NSIDOMHTMLAREAELEMENT
139
140 nsDOMHTMLAreaElement();
141
142 private:
143 ~nsDOMHTMLAreaElement();
144
145 protected:
146 /* additional members */
147 };
148
149 /* Implementation file */
150 NS_IMPL_ISUPPORTS1(nsDOMHTMLAreaElement, nsIDOMHTMLAreaElement)
151
152 nsDOMHTMLAreaElement::nsDOMHTMLAreaElement()
153 {
154 /* member initializers and constructor code */
155 }
156
157 nsDOMHTMLAreaElement::~nsDOMHTMLAreaElement()
158 {
159 /* destructor code */
160 }
161
162 /* attribute DOMString accessKey; */
163 NS_IMETHODIMP nsDOMHTMLAreaElement::GetAccessKey(nsAString & aAccessKey)
164 {
165 return NS_ERROR_NOT_IMPLEMENTED;
166 }
167 NS_IMETHODIMP nsDOMHTMLAreaElement::SetAccessKey(const nsAString & aAccessKey)
168 {
169 return NS_ERROR_NOT_IMPLEMENTED;
170 }
171
172 /* attribute DOMString alt; */
173 NS_IMETHODIMP nsDOMHTMLAreaElement::GetAlt(nsAString & aAlt)
174 {
175 return NS_ERROR_NOT_IMPLEMENTED;
176 }
177 NS_IMETHODIMP nsDOMHTMLAreaElement::SetAlt(const nsAString & aAlt)
178 {
179 return NS_ERROR_NOT_IMPLEMENTED;
180 }
181
182 /* attribute DOMString coords; */
183 NS_IMETHODIMP nsDOMHTMLAreaElement::GetCoords(nsAString & aCoords)
184 {
185 return NS_ERROR_NOT_IMPLEMENTED;
186 }
187 NS_IMETHODIMP nsDOMHTMLAreaElement::SetCoords(const nsAString & aCoords)
188 {
189 return NS_ERROR_NOT_IMPLEMENTED;
190 }
191
192 /* attribute DOMString href; */
193 NS_IMETHODIMP nsDOMHTMLAreaElement::GetHref(nsAString & aHref)
194 {
195 return NS_ERROR_NOT_IMPLEMENTED;
196 }
197 NS_IMETHODIMP nsDOMHTMLAreaElement::SetHref(const nsAString & aHref)
198 {
199 return NS_ERROR_NOT_IMPLEMENTED;
200 }
201
202 /* attribute boolean noHref; */
203 NS_IMETHODIMP nsDOMHTMLAreaElement::GetNoHref(PRBool *aNoHref)
204 {
205 return NS_ERROR_NOT_IMPLEMENTED;
206 }
207 NS_IMETHODIMP nsDOMHTMLAreaElement::SetNoHref(PRBool aNoHref)
208 {
209 return NS_ERROR_NOT_IMPLEMENTED;
210 }
211
212 /* attribute DOMString shape; */
213 NS_IMETHODIMP nsDOMHTMLAreaElement::GetShape(nsAString & aShape)
214 {
215 return NS_ERROR_NOT_IMPLEMENTED;
216 }
217 NS_IMETHODIMP nsDOMHTMLAreaElement::SetShape(const nsAString & aShape)
218 {
219 return NS_ERROR_NOT_IMPLEMENTED;
220 }
221
222 /* attribute long tabIndex; */
223 NS_IMETHODIMP nsDOMHTMLAreaElement::GetTabIndex(PRInt32 *aTabIndex)
224 {
225 return NS_ERROR_NOT_IMPLEMENTED;
226 }
227 NS_IMETHODIMP nsDOMHTMLAreaElement::SetTabIndex(PRInt32 aTabIndex)
228 {
229 return NS_ERROR_NOT_IMPLEMENTED;
230 }
231
232 /* attribute DOMString target; */
233 NS_IMETHODIMP nsDOMHTMLAreaElement::GetTarget(nsAString & aTarget)
234 {
235 return NS_ERROR_NOT_IMPLEMENTED;
236 }
237 NS_IMETHODIMP nsDOMHTMLAreaElement::SetTarget(const nsAString & aTarget)
238 {
239 return NS_ERROR_NOT_IMPLEMENTED;
240 }
241
242 /* End of implementation class template. */
243 #endif
244
245
246 #endif /* __gen_nsIDOMHTMLAreaElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLAppletElement.h ('k') | gecko-sdk/include/nsIDOMHTMLBRElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698