PageRenderTime 143ms CodeModel.GetById 60ms app.highlight 9ms RepoModel.GetById 72ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLFrameElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 260 lines | 176 code | 42 blank | 42 comment | 0 complexity | f4463b6ab539778ec5e54dae476f7776 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLFrameElement_h__
  6#define __gen_nsIDOMHTMLFrameElement_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:    nsIDOMHTMLFrameElement */
 19#define NS_IDOMHTMLFRAMEELEMENT_IID_STR "a6cf90b9-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLFRAMEELEMENT_IID \
 22  {0xa6cf90b9, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLFrameElement interface is the interface to a [X]HTML
 27 * frame 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 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLFrameElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFRAMEELEMENT_IID)
 38
 39  /* attribute DOMString frameBorder; */
 40  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) = 0;
 42
 43  /* attribute DOMString longDesc; */
 44  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) = 0;
 46
 47  /* attribute DOMString marginHeight; */
 48  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) = 0;
 50
 51  /* attribute DOMString marginWidth; */
 52  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) = 0;
 54
 55  /* attribute DOMString name; */
 56  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
 58
 59  /* attribute boolean noResize; */
 60  NS_SCRIPTABLE NS_IMETHOD GetNoResize(PRBool *aNoResize) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetNoResize(PRBool aNoResize) = 0;
 62
 63  /* attribute DOMString scrolling; */
 64  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) = 0;
 65  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) = 0;
 66
 67  /* attribute DOMString src; */
 68  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
 69  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
 70
 71  /* readonly attribute nsIDOMDocument contentDocument; */
 72  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) = 0;
 73
 74};
 75
 76  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFrameElement, NS_IDOMHTMLFRAMEELEMENT_IID)
 77
 78/* Use this macro when declaring classes that implement this interface. */
 79#define NS_DECL_NSIDOMHTMLFRAMEELEMENT \
 80  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder); \
 81  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder); \
 82  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc); \
 83  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc); \
 84  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight); \
 85  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight); \
 86  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth); \
 87  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth); \
 88  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
 89  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
 90  NS_SCRIPTABLE NS_IMETHOD GetNoResize(PRBool *aNoResize); \
 91  NS_SCRIPTABLE NS_IMETHOD SetNoResize(PRBool aNoResize); \
 92  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling); \
 93  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling); \
 94  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc); \
 95  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc); \
 96  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument); 
 97
 98/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 99#define NS_FORWARD_NSIDOMHTMLFRAMEELEMENT(_to) \
100  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
101  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
102  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return _to GetLongDesc(aLongDesc); } \
103  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return _to SetLongDesc(aLongDesc); } \
104  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
105  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
106  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
107  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
108  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
109  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
110  NS_SCRIPTABLE NS_IMETHOD GetNoResize(PRBool *aNoResize) { return _to GetNoResize(aNoResize); } \
111  NS_SCRIPTABLE NS_IMETHOD SetNoResize(PRBool aNoResize) { return _to SetNoResize(aNoResize); } \
112  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) { return _to GetScrolling(aScrolling); } \
113  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return _to SetScrolling(aScrolling); } \
114  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
115  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
116  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return _to GetContentDocument(aContentDocument); } 
117
118/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
119#define NS_FORWARD_SAFE_NSIDOMHTMLFRAMEELEMENT(_to) \
120  NS_SCRIPTABLE NS_IMETHOD GetFrameBorder(nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameBorder(aFrameBorder); } \
121  NS_SCRIPTABLE NS_IMETHOD SetFrameBorder(const nsAString & aFrameBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrameBorder(aFrameBorder); } \
122  NS_SCRIPTABLE NS_IMETHOD GetLongDesc(nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongDesc(aLongDesc); } \
123  NS_SCRIPTABLE NS_IMETHOD SetLongDesc(const nsAString & aLongDesc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLongDesc(aLongDesc); } \
124  NS_SCRIPTABLE NS_IMETHOD GetMarginHeight(nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginHeight(aMarginHeight); } \
125  NS_SCRIPTABLE NS_IMETHOD SetMarginHeight(const nsAString & aMarginHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginHeight(aMarginHeight); } \
126  NS_SCRIPTABLE NS_IMETHOD GetMarginWidth(nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarginWidth(aMarginWidth); } \
127  NS_SCRIPTABLE NS_IMETHOD SetMarginWidth(const nsAString & aMarginWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarginWidth(aMarginWidth); } \
128  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
129  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
130  NS_SCRIPTABLE NS_IMETHOD GetNoResize(PRBool *aNoResize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoResize(aNoResize); } \
131  NS_SCRIPTABLE NS_IMETHOD SetNoResize(PRBool aNoResize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoResize(aNoResize); } \
132  NS_SCRIPTABLE NS_IMETHOD GetScrolling(nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrolling(aScrolling); } \
133  NS_SCRIPTABLE NS_IMETHOD SetScrolling(const nsAString & aScrolling) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrolling(aScrolling); } \
134  NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
135  NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
136  NS_SCRIPTABLE NS_IMETHOD GetContentDocument(nsIDOMDocument * *aContentDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentDocument(aContentDocument); } 
137
138#if 0
139/* Use the code below as a template for the implementation class for this interface. */
140
141/* Header file */
142class nsDOMHTMLFrameElement : public nsIDOMHTMLFrameElement
143{
144public:
145  NS_DECL_ISUPPORTS
146  NS_DECL_NSIDOMHTMLFRAMEELEMENT
147
148  nsDOMHTMLFrameElement();
149
150private:
151  ~nsDOMHTMLFrameElement();
152
153protected:
154  /* additional members */
155};
156
157/* Implementation file */
158NS_IMPL_ISUPPORTS1(nsDOMHTMLFrameElement, nsIDOMHTMLFrameElement)
159
160nsDOMHTMLFrameElement::nsDOMHTMLFrameElement()
161{
162  /* member initializers and constructor code */
163}
164
165nsDOMHTMLFrameElement::~nsDOMHTMLFrameElement()
166{
167  /* destructor code */
168}
169
170/* attribute DOMString frameBorder; */
171NS_IMETHODIMP nsDOMHTMLFrameElement::GetFrameBorder(nsAString & aFrameBorder)
172{
173    return NS_ERROR_NOT_IMPLEMENTED;
174}
175NS_IMETHODIMP nsDOMHTMLFrameElement::SetFrameBorder(const nsAString & aFrameBorder)
176{
177    return NS_ERROR_NOT_IMPLEMENTED;
178}
179
180/* attribute DOMString longDesc; */
181NS_IMETHODIMP nsDOMHTMLFrameElement::GetLongDesc(nsAString & aLongDesc)
182{
183    return NS_ERROR_NOT_IMPLEMENTED;
184}
185NS_IMETHODIMP nsDOMHTMLFrameElement::SetLongDesc(const nsAString & aLongDesc)
186{
187    return NS_ERROR_NOT_IMPLEMENTED;
188}
189
190/* attribute DOMString marginHeight; */
191NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginHeight(nsAString & aMarginHeight)
192{
193    return NS_ERROR_NOT_IMPLEMENTED;
194}
195NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginHeight(const nsAString & aMarginHeight)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199
200/* attribute DOMString marginWidth; */
201NS_IMETHODIMP nsDOMHTMLFrameElement::GetMarginWidth(nsAString & aMarginWidth)
202{
203    return NS_ERROR_NOT_IMPLEMENTED;
204}
205NS_IMETHODIMP nsDOMHTMLFrameElement::SetMarginWidth(const nsAString & aMarginWidth)
206{
207    return NS_ERROR_NOT_IMPLEMENTED;
208}
209
210/* attribute DOMString name; */
211NS_IMETHODIMP nsDOMHTMLFrameElement::GetName(nsAString & aName)
212{
213    return NS_ERROR_NOT_IMPLEMENTED;
214}
215NS_IMETHODIMP nsDOMHTMLFrameElement::SetName(const nsAString & aName)
216{
217    return NS_ERROR_NOT_IMPLEMENTED;
218}
219
220/* attribute boolean noResize; */
221NS_IMETHODIMP nsDOMHTMLFrameElement::GetNoResize(PRBool *aNoResize)
222{
223    return NS_ERROR_NOT_IMPLEMENTED;
224}
225NS_IMETHODIMP nsDOMHTMLFrameElement::SetNoResize(PRBool aNoResize)
226{
227    return NS_ERROR_NOT_IMPLEMENTED;
228}
229
230/* attribute DOMString scrolling; */
231NS_IMETHODIMP nsDOMHTMLFrameElement::GetScrolling(nsAString & aScrolling)
232{
233    return NS_ERROR_NOT_IMPLEMENTED;
234}
235NS_IMETHODIMP nsDOMHTMLFrameElement::SetScrolling(const nsAString & aScrolling)
236{
237    return NS_ERROR_NOT_IMPLEMENTED;
238}
239
240/* attribute DOMString src; */
241NS_IMETHODIMP nsDOMHTMLFrameElement::GetSrc(nsAString & aSrc)
242{
243    return NS_ERROR_NOT_IMPLEMENTED;
244}
245NS_IMETHODIMP nsDOMHTMLFrameElement::SetSrc(const nsAString & aSrc)
246{
247    return NS_ERROR_NOT_IMPLEMENTED;
248}
249
250/* readonly attribute nsIDOMDocument contentDocument; */
251NS_IMETHODIMP nsDOMHTMLFrameElement::GetContentDocument(nsIDOMDocument * *aContentDocument)
252{
253    return NS_ERROR_NOT_IMPLEMENTED;
254}
255
256/* End of implementation class template. */
257#endif
258
259
260#endif /* __gen_nsIDOMHTMLFrameElement_h__ */