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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLIFrameElement.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/nsIDOMHTMLHtmlElement.h ('k') | gecko-sdk/include/nsIDOMHTMLImageElement.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/nsIDOMHTMLIFrameElement.id l
3 */
4
5 #ifndef __gen_nsIDOMHTMLIFrameElement_h__
6 #define __gen_nsIDOMHTMLIFrameElement_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: nsIDOMHTMLIFrameElement */
19 #define NS_IDOMHTMLIFRAMEELEMENT_IID_STR "a6cf90ba-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLIFRAMEELEMENT_IID \
22 {0xa6cf90ba, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLIFrameElement interface is the interface to a [X]HTML
27 * iframe 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 nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLIFRAMEELEMENT_IID)
38
39 /* attribute DOMString align; */
40 NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
41 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
42
43 /* attribute DOMString frameBorder; */
44 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0;
45 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0;
46
47 /* attribute DOMString height; */
48 NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
49 NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
50
51 /* attribute DOMString longDesc; */
52 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0;
53 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0;
54
55 /* attribute DOMString marginHeight; */
56 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0;
57 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0;
58
59 /* attribute DOMString marginWidth; */
60 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0;
61 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0;
62
63 /* attribute DOMString name; */
64 NS_IMETHOD GetName(nsAString & aName) = 0;
65 NS_IMETHOD SetName(const nsAString & aName) = 0;
66
67 /* attribute DOMString scrolling; */
68 NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0;
69 NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0;
70
71 /* attribute DOMString src; */
72 NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
73 NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
74
75 /* attribute DOMString width; */
76 NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
77 NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
78
79 /* readonly attribute nsIDOMDocument contentDocument; */
80 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;
81
82 };
83
84 /* Use this macro when declaring classes that implement this interface. */
85 #define NS_DECL_NSIDOMHTMLIFRAMEELEMENT \
86 NS_IMETHOD GetAlign(nsAString & aAlign); \
87 NS_IMETHOD SetAlign(const nsAString & aAlign); \
88 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \
89 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \
90 NS_IMETHOD GetHeight(nsAString & aHeight); \
91 NS_IMETHOD SetHeight(const nsAString & aHeight); \
92 NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \
93 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \
94 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \
95 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \
96 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \
97 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \
98 NS_IMETHOD GetName(nsAString & aName); \
99 NS_IMETHOD SetName(const nsAString & aName); \
100 NS_IMETHOD GetScrolling(nsAString & aScrolling); \
101 NS_IMETHOD SetScrolling(const nsAString & aScrolling); \
102 NS_IMETHOD GetSrc(nsAString & aSrc); \
103 NS_IMETHOD SetSrc(const nsAString & aSrc); \
104 NS_IMETHOD GetWidth(nsAString & aWidth); \
105 NS_IMETHOD SetWidth(const nsAString & aWidth); \
106 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument);
107
108 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
109 #define NS_FORWARD_NSIDOMHTMLIFRAMEELEMENT(_to) \
110 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
111 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
112 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorde r(aFrameBorder); } \
113 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFram eBorder(aFrameBorder); } \
114 NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
115 NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight ); } \
116 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDe sc); } \
117 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(a LongDesc); } \
118 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHe ight(aMarginHeight); } \
119 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMa rginHeight(aMarginHeight); } \
120 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidt h(aMarginWidth); } \
121 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarg inWidth(aMarginWidth); } \
122 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
123 NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
124 NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScr olling); } \
125 NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrollin g(aScrolling); } \
126 NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
127 NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
128 NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
129 NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } \
130 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to GetContentDocument(aContentDocument); }
131
132 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
133 #define NS_FORWARD_SAFE_NSIDOMHTMLIFRAMEELEMENT(_to) \
134 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
135 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetAlign(aAlign); } \
136 NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_N ULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \
137 NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_E RROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \
138 NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetHeight(aHeight); } \
139 NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetHeight(aHeight); } \
140 NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetLongDesc(aLongDesc); } \
141 NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_N ULL_POINTER : _to->SetLongDesc(aLongDesc); } \
142 NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR _NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \
143 NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS _ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \
144 NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_N ULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \
145 NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_E RROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \
146 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
147 NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetName(aName); } \
148 NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_ POINTER : _to->GetScrolling(aScrolling); } \
149 NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR _NULL_POINTER : _to->SetScrolling(aScrolling); } \
150 NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _t o->GetSrc(aSrc); } \
151 NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTE R : _to->SetSrc(aSrc); } \
152 NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
153 NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetWidth(aWidth); } \
154 NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_t o ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); }
155
156 #if 0
157 /* Use the code below as a template for the implementation class for this interf ace. */
158
159 /* Header file */
160 class nsDOMHTMLIFrameElement : public nsIDOMHTMLIFrameElement
161 {
162 public:
163 NS_DECL_ISUPPORTS
164 NS_DECL_NSIDOMHTMLIFRAMEELEMENT
165
166 nsDOMHTMLIFrameElement();
167
168 private:
169 ~nsDOMHTMLIFrameElement();
170
171 protected:
172 /* additional members */
173 };
174
175 /* Implementation file */
176 NS_IMPL_ISUPPORTS1(nsDOMHTMLIFrameElement, nsIDOMHTMLIFrameElement)
177
178 nsDOMHTMLIFrameElement::nsDOMHTMLIFrameElement()
179 {
180 /* member initializers and constructor code */
181 }
182
183 nsDOMHTMLIFrameElement::~nsDOMHTMLIFrameElement()
184 {
185 /* destructor code */
186 }
187
188 /* attribute DOMString align; */
189 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetAlign(nsAString & aAlign)
190 {
191 return NS_ERROR_NOT_IMPLEMENTED;
192 }
193 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetAlign(const nsAString & aAlign)
194 {
195 return NS_ERROR_NOT_IMPLEMENTED;
196 }
197
198 /* attribute DOMString frameBorder; */
199 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetFrameBorder(nsAString & aFrameBorder)
200 {
201 return NS_ERROR_NOT_IMPLEMENTED;
202 }
203 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetFrameBorder(const nsAString & aFrameBor der)
204 {
205 return NS_ERROR_NOT_IMPLEMENTED;
206 }
207
208 /* attribute DOMString height; */
209 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetHeight(nsAString & aHeight)
210 {
211 return NS_ERROR_NOT_IMPLEMENTED;
212 }
213 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetHeight(const nsAString & aHeight)
214 {
215 return NS_ERROR_NOT_IMPLEMENTED;
216 }
217
218 /* attribute DOMString longDesc; */
219 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetLongDesc(nsAString & aLongDesc)
220 {
221 return NS_ERROR_NOT_IMPLEMENTED;
222 }
223 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetLongDesc(const nsAString & aLongDesc)
224 {
225 return NS_ERROR_NOT_IMPLEMENTED;
226 }
227
228 /* attribute DOMString marginHeight; */
229 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginHeight(nsAString & aMarginHeight)
230 {
231 return NS_ERROR_NOT_IMPLEMENTED;
232 }
233 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginHeight(const nsAString & aMarginH eight)
234 {
235 return NS_ERROR_NOT_IMPLEMENTED;
236 }
237
238 /* attribute DOMString marginWidth; */
239 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetMarginWidth(nsAString & aMarginWidth)
240 {
241 return NS_ERROR_NOT_IMPLEMENTED;
242 }
243 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetMarginWidth(const nsAString & aMarginWi dth)
244 {
245 return NS_ERROR_NOT_IMPLEMENTED;
246 }
247
248 /* attribute DOMString name; */
249 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetName(nsAString & aName)
250 {
251 return NS_ERROR_NOT_IMPLEMENTED;
252 }
253 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetName(const nsAString & aName)
254 {
255 return NS_ERROR_NOT_IMPLEMENTED;
256 }
257
258 /* attribute DOMString scrolling; */
259 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetScrolling(nsAString & aScrolling)
260 {
261 return NS_ERROR_NOT_IMPLEMENTED;
262 }
263 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetScrolling(const nsAString & aScrolling)
264 {
265 return NS_ERROR_NOT_IMPLEMENTED;
266 }
267
268 /* attribute DOMString src; */
269 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetSrc(nsAString & aSrc)
270 {
271 return NS_ERROR_NOT_IMPLEMENTED;
272 }
273 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetSrc(const nsAString & aSrc)
274 {
275 return NS_ERROR_NOT_IMPLEMENTED;
276 }
277
278 /* attribute DOMString width; */
279 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetWidth(nsAString & aWidth)
280 {
281 return NS_ERROR_NOT_IMPLEMENTED;
282 }
283 NS_IMETHODIMP nsDOMHTMLIFrameElement::SetWidth(const nsAString & aWidth)
284 {
285 return NS_ERROR_NOT_IMPLEMENTED;
286 }
287
288 /* readonly attribute nsIDOMDocument contentDocument; */
289 NS_IMETHODIMP nsDOMHTMLIFrameElement::GetContentDocument(nsIDOMDocument * *aCont entDocument)
290 {
291 return NS_ERROR_NOT_IMPLEMENTED;
292 }
293
294 /* End of implementation class template. */
295 #endif
296
297
298 #endif /* __gen_nsIDOMHTMLIFrameElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLHtmlElement.h ('k') | gecko-sdk/include/nsIDOMHTMLImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698