1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/base/nsIDOMWindow.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMWindow_h__
6 : #define __gen_nsIDOMWindow_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.h"
11 : #endif
12 :
13 : #include "jspubtd.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 : class nsIFrameRequestCallback; /* forward declaration */
20 :
21 : class nsIControllers; /* forward declaration */
22 :
23 : class nsIDOMBlob; /* forward declaration */
24 :
25 : class nsIDOMLocation; /* forward declaration */
26 :
27 : class nsIDOMMediaQueryList; /* forward declaration */
28 :
29 : class nsIDOMOfflineResourceList; /* forward declaration */
30 :
31 : class nsIDOMPerformance; /* forward declaration */
32 :
33 : class nsIDOMStorage; /* forward declaration */
34 :
35 : class nsIDOMStorageList; /* forward declaration */
36 :
37 : class nsIPrompt; /* forward declaration */
38 :
39 : class nsISelection; /* forward declaration */
40 :
41 : class nsIVariant; /* forward declaration */
42 :
43 :
44 : /* starting interface: nsIDOMMozURLProperty */
45 : #define NS_IDOMMOZURLPROPERTY_IID_STR "8fc58f56-f769-4368-a098-edd08550cf1a"
46 :
47 : #define NS_IDOMMOZURLPROPERTY_IID \
48 : {0x8fc58f56, 0xf769, 0x4368, \
49 : { 0xa0, 0x98, 0xed, 0xd0, 0x85, 0x50, 0xcf, 0x1a }}
50 :
51 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozURLProperty : public nsISupports {
52 : public:
53 :
54 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZURLPROPERTY_IID)
55 :
56 : /* DOMString createObjectURL (in nsIDOMBlob blob); */
57 : NS_SCRIPTABLE NS_IMETHOD CreateObjectURL(nsIDOMBlob *blob, nsAString & _retval NS_OUTPARAM) = 0;
58 :
59 : /* void revokeObjectURL (in DOMString URL); */
60 : NS_SCRIPTABLE NS_IMETHOD RevokeObjectURL(const nsAString & URL) = 0;
61 :
62 : };
63 :
64 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozURLProperty, NS_IDOMMOZURLPROPERTY_IID)
65 :
66 : /* Use this macro when declaring classes that implement this interface. */
67 : #define NS_DECL_NSIDOMMOZURLPROPERTY \
68 : NS_SCRIPTABLE NS_IMETHOD CreateObjectURL(nsIDOMBlob *blob, nsAString & _retval NS_OUTPARAM); \
69 : NS_SCRIPTABLE NS_IMETHOD RevokeObjectURL(const nsAString & URL);
70 :
71 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
72 : #define NS_FORWARD_NSIDOMMOZURLPROPERTY(_to) \
73 : NS_SCRIPTABLE NS_IMETHOD CreateObjectURL(nsIDOMBlob *blob, nsAString & _retval NS_OUTPARAM) { return _to CreateObjectURL(blob, _retval); } \
74 : NS_SCRIPTABLE NS_IMETHOD RevokeObjectURL(const nsAString & URL) { return _to RevokeObjectURL(URL); }
75 :
76 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
77 : #define NS_FORWARD_SAFE_NSIDOMMOZURLPROPERTY(_to) \
78 : NS_SCRIPTABLE NS_IMETHOD CreateObjectURL(nsIDOMBlob *blob, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateObjectURL(blob, _retval); } \
79 : NS_SCRIPTABLE NS_IMETHOD RevokeObjectURL(const nsAString & URL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RevokeObjectURL(URL); }
80 :
81 : #if 0
82 : /* Use the code below as a template for the implementation class for this interface. */
83 :
84 : /* Header file */
85 : class nsDOMMozURLProperty : public nsIDOMMozURLProperty
86 : {
87 : public:
88 : NS_DECL_ISUPPORTS
89 : NS_DECL_NSIDOMMOZURLPROPERTY
90 :
91 : nsDOMMozURLProperty();
92 :
93 : private:
94 : ~nsDOMMozURLProperty();
95 :
96 : protected:
97 : /* additional members */
98 : };
99 :
100 : /* Implementation file */
101 : NS_IMPL_ISUPPORTS1(nsDOMMozURLProperty, nsIDOMMozURLProperty)
102 :
103 : nsDOMMozURLProperty::nsDOMMozURLProperty()
104 : {
105 : /* member initializers and constructor code */
106 : }
107 :
108 : nsDOMMozURLProperty::~nsDOMMozURLProperty()
109 : {
110 : /* destructor code */
111 : }
112 :
113 : /* DOMString createObjectURL (in nsIDOMBlob blob); */
114 : NS_IMETHODIMP nsDOMMozURLProperty::CreateObjectURL(nsIDOMBlob *blob, nsAString & _retval NS_OUTPARAM)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* void revokeObjectURL (in DOMString URL); */
120 : NS_IMETHODIMP nsDOMMozURLProperty::RevokeObjectURL(const nsAString & URL)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* End of implementation class template. */
126 : #endif
127 :
128 :
129 : /* starting interface: nsIDOMWindow */
130 : #define NS_IDOMWINDOW_IID_STR "17400e2b-f78b-4e69-b500-c2a3135a40fd"
131 :
132 : #define NS_IDOMWINDOW_IID \
133 : {0x17400e2b, 0xf78b, 0x4e69, \
134 : { 0xb5, 0x00, 0xc2, 0xa3, 0x13, 0x5a, 0x40, 0xfd }}
135 :
136 0 : class NS_SCRIPTABLE nsIDOMWindow : public nsISupports {
137 : public:
138 :
139 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMWINDOW_IID)
140 :
141 : /* readonly attribute nsIDOMWindow window; */
142 : NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) = 0;
143 :
144 : /* readonly attribute nsIDOMWindow self; */
145 : NS_SCRIPTABLE NS_IMETHOD GetSelf(nsIDOMWindow * *aSelf) = 0;
146 :
147 : /* readonly attribute nsIDOMDocument document; */
148 : NS_SCRIPTABLE NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) = 0;
149 :
150 : /* attribute DOMString name; */
151 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
152 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
153 :
154 : /* readonly attribute nsIDOMLocation location; */
155 : NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) = 0;
156 :
157 : /* readonly attribute nsIDOMHistory history; */
158 : NS_SCRIPTABLE NS_IMETHOD GetHistory(nsIDOMHistory * *aHistory) = 0;
159 :
160 : /* readonly attribute nsIDOMBarProp locationbar; */
161 : NS_SCRIPTABLE NS_IMETHOD GetLocationbar(nsIDOMBarProp * *aLocationbar) = 0;
162 :
163 : /* readonly attribute nsIDOMBarProp menubar; */
164 : NS_SCRIPTABLE NS_IMETHOD GetMenubar(nsIDOMBarProp * *aMenubar) = 0;
165 :
166 : /* readonly attribute nsIDOMBarProp personalbar; */
167 : NS_SCRIPTABLE NS_IMETHOD GetPersonalbar(nsIDOMBarProp * *aPersonalbar) = 0;
168 :
169 : /* readonly attribute nsIDOMBarProp scrollbars; */
170 : NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars) = 0;
171 :
172 : /* readonly attribute nsIDOMBarProp statusbar; */
173 : NS_SCRIPTABLE NS_IMETHOD GetStatusbar(nsIDOMBarProp * *aStatusbar) = 0;
174 :
175 : /* readonly attribute nsIDOMBarProp toolbar; */
176 : NS_SCRIPTABLE NS_IMETHOD GetToolbar(nsIDOMBarProp * *aToolbar) = 0;
177 :
178 : /* attribute DOMString status; */
179 : NS_SCRIPTABLE NS_IMETHOD GetStatus(nsAString & aStatus) = 0;
180 : NS_SCRIPTABLE NS_IMETHOD SetStatus(const nsAString & aStatus) = 0;
181 :
182 : /* void close (); */
183 : NS_SCRIPTABLE NS_IMETHOD Close(void) = 0;
184 :
185 : /* void stop (); */
186 : NS_SCRIPTABLE NS_IMETHOD Stop(void) = 0;
187 :
188 : /* void focus (); */
189 : NS_SCRIPTABLE NS_IMETHOD Focus(void) = 0;
190 :
191 : /* void blur (); */
192 : NS_SCRIPTABLE NS_IMETHOD Blur(void) = 0;
193 :
194 : /* readonly attribute unsigned long length; */
195 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
196 :
197 : /* [binaryname(ScriptableTop)] readonly attribute nsIDOMWindow top; */
198 : NS_SCRIPTABLE NS_IMETHOD GetScriptableTop(nsIDOMWindow * *aTop) = 0;
199 :
200 : /* [noscript] readonly attribute nsIDOMWindow realTop; */
201 : NS_IMETHOD GetRealTop(nsIDOMWindow * *aRealTop) = 0;
202 :
203 0 : nsresult GetTop(nsIDOMWindow **aWindow)
204 : {
205 0 : return GetRealTop(aWindow);
206 : }
207 : /* [binaryname(ScriptableParent)] readonly attribute nsIDOMWindow parent; */
208 : NS_SCRIPTABLE NS_IMETHOD GetScriptableParent(nsIDOMWindow * *aParent) = 0;
209 :
210 : /* [noscript] readonly attribute nsIDOMWindow realParent; */
211 : NS_IMETHOD GetRealParent(nsIDOMWindow * *aRealParent) = 0;
212 :
213 0 : inline nsresult GetParent(nsIDOMWindow **aWindow)
214 : {
215 0 : return GetRealParent(aWindow);
216 : }
217 : /* attribute nsIDOMWindow opener; */
218 : NS_SCRIPTABLE NS_IMETHOD GetOpener(nsIDOMWindow * *aOpener) = 0;
219 : NS_SCRIPTABLE NS_IMETHOD SetOpener(nsIDOMWindow *aOpener) = 0;
220 :
221 : /* [binaryname(ScriptableFrameElement)] readonly attribute nsIDOMElement frameElement; */
222 : NS_SCRIPTABLE NS_IMETHOD GetScriptableFrameElement(nsIDOMElement * *aFrameElement) = 0;
223 :
224 : /* [noscript] readonly attribute nsIDOMElement realFrameElement; */
225 : NS_IMETHOD GetRealFrameElement(nsIDOMElement * *aRealFrameElement) = 0;
226 :
227 0 : inline nsresult GetFrameElement(nsIDOMElement **aElement)
228 : {
229 0 : return GetRealFrameElement(aElement);
230 : }
231 : /* readonly attribute nsIDOMNavigator navigator; */
232 : NS_SCRIPTABLE NS_IMETHOD GetNavigator(nsIDOMNavigator * *aNavigator) = 0;
233 :
234 : /* readonly attribute nsIDOMOfflineResourceList applicationCache; */
235 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIDOMOfflineResourceList * *aApplicationCache) = 0;
236 :
237 : /* void alert (in DOMString text); */
238 : NS_SCRIPTABLE NS_IMETHOD Alert(const nsAString & text) = 0;
239 :
240 : /* boolean confirm (in DOMString text); */
241 : NS_SCRIPTABLE NS_IMETHOD Confirm(const nsAString & text, bool *_retval NS_OUTPARAM) = 0;
242 :
243 : /* DOMString prompt ([optional] in DOMString aMessage, [optional] in DOMString aInitial); */
244 : NS_SCRIPTABLE NS_IMETHOD Prompt(const nsAString & aMessage, const nsAString & aInitial, nsAString & _retval NS_OUTPARAM) = 0;
245 :
246 : /* void print (); */
247 : NS_SCRIPTABLE NS_IMETHOD Print(void) = 0;
248 :
249 : /* nsIVariant showModalDialog (in DOMString aURI, [optional] in nsIVariant aArgs, [optional] in DOMString aOptions); */
250 : NS_SCRIPTABLE NS_IMETHOD ShowModalDialog(const nsAString & aURI, nsIVariant *aArgs, const nsAString & aOptions, nsIVariant * *_retval NS_OUTPARAM) = 0;
251 :
252 : /* [binaryname(PostMessageMoz),implicit_jscontext] void postMessage (in jsval message, in DOMString targetOrigin); */
253 : NS_SCRIPTABLE NS_IMETHOD PostMessageMoz(const JS::Value & message, const nsAString & targetOrigin, JSContext* cx) = 0;
254 :
255 : /* DOMString atob (in DOMString aAsciiString); */
256 : NS_SCRIPTABLE NS_IMETHOD Atob(const nsAString & aAsciiString, nsAString & _retval NS_OUTPARAM) = 0;
257 :
258 : /* DOMString btoa (in DOMString aBase64Data); */
259 : NS_SCRIPTABLE NS_IMETHOD Btoa(const nsAString & aBase64Data, nsAString & _retval NS_OUTPARAM) = 0;
260 :
261 : /* readonly attribute nsIDOMStorage sessionStorage; */
262 : NS_SCRIPTABLE NS_IMETHOD GetSessionStorage(nsIDOMStorage * *aSessionStorage) = 0;
263 :
264 : /* readonly attribute nsIDOMStorage localStorage; */
265 : NS_SCRIPTABLE NS_IMETHOD GetLocalStorage(nsIDOMStorage * *aLocalStorage) = 0;
266 :
267 : /* nsISelection getSelection (); */
268 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) = 0;
269 :
270 : /* nsIDOMMediaQueryList matchMedia (in DOMString media_query_list); */
271 : NS_SCRIPTABLE NS_IMETHOD MatchMedia(const nsAString & media_query_list, nsIDOMMediaQueryList * *_retval NS_OUTPARAM) = 0;
272 :
273 : /* readonly attribute nsIDOMScreen screen; */
274 : NS_SCRIPTABLE NS_IMETHOD GetScreen(nsIDOMScreen * *aScreen) = 0;
275 :
276 : /* attribute long innerWidth; */
277 : NS_SCRIPTABLE NS_IMETHOD GetInnerWidth(PRInt32 *aInnerWidth) = 0;
278 : NS_SCRIPTABLE NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth) = 0;
279 :
280 : /* attribute long innerHeight; */
281 : NS_SCRIPTABLE NS_IMETHOD GetInnerHeight(PRInt32 *aInnerHeight) = 0;
282 : NS_SCRIPTABLE NS_IMETHOD SetInnerHeight(PRInt32 aInnerHeight) = 0;
283 :
284 : /* readonly attribute long scrollX; */
285 : NS_SCRIPTABLE NS_IMETHOD GetScrollX(PRInt32 *aScrollX) = 0;
286 :
287 : /* readonly attribute long pageXOffset; */
288 : NS_SCRIPTABLE NS_IMETHOD GetPageXOffset(PRInt32 *aPageXOffset) = 0;
289 :
290 : /* readonly attribute long scrollY; */
291 : NS_SCRIPTABLE NS_IMETHOD GetScrollY(PRInt32 *aScrollY) = 0;
292 :
293 : /* readonly attribute long pageYOffset; */
294 : NS_SCRIPTABLE NS_IMETHOD GetPageYOffset(PRInt32 *aPageYOffset) = 0;
295 :
296 : /* void scroll (in long xScroll, in long yScroll); */
297 : NS_SCRIPTABLE NS_IMETHOD Scroll(PRInt32 xScroll, PRInt32 yScroll) = 0;
298 :
299 : /* void scrollTo (in long xScroll, in long yScroll); */
300 : NS_SCRIPTABLE NS_IMETHOD ScrollTo(PRInt32 xScroll, PRInt32 yScroll) = 0;
301 :
302 : /* void scrollBy (in long xScrollDif, in long yScrollDif); */
303 : NS_SCRIPTABLE NS_IMETHOD ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif) = 0;
304 :
305 : /* attribute long screenX; */
306 : NS_SCRIPTABLE NS_IMETHOD GetScreenX(PRInt32 *aScreenX) = 0;
307 : NS_SCRIPTABLE NS_IMETHOD SetScreenX(PRInt32 aScreenX) = 0;
308 :
309 : /* attribute long screenY; */
310 : NS_SCRIPTABLE NS_IMETHOD GetScreenY(PRInt32 *aScreenY) = 0;
311 : NS_SCRIPTABLE NS_IMETHOD SetScreenY(PRInt32 aScreenY) = 0;
312 :
313 : /* attribute long outerWidth; */
314 : NS_SCRIPTABLE NS_IMETHOD GetOuterWidth(PRInt32 *aOuterWidth) = 0;
315 : NS_SCRIPTABLE NS_IMETHOD SetOuterWidth(PRInt32 aOuterWidth) = 0;
316 :
317 : /* attribute long outerHeight; */
318 : NS_SCRIPTABLE NS_IMETHOD GetOuterHeight(PRInt32 *aOuterHeight) = 0;
319 : NS_SCRIPTABLE NS_IMETHOD SetOuterHeight(PRInt32 aOuterHeight) = 0;
320 :
321 : /* nsIDOMCSSStyleDeclaration getComputedStyle (in nsIDOMElement elt, [optional] in DOMString pseudoElt); */
322 : NS_SCRIPTABLE NS_IMETHOD GetComputedStyle(nsIDOMElement *elt, const nsAString & pseudoElt, nsIDOMCSSStyleDeclaration * *_retval NS_OUTPARAM) = 0;
323 :
324 : /* [noscript] readonly attribute nsIDOMEventTarget windowRoot; */
325 : NS_IMETHOD GetWindowRoot(nsIDOMEventTarget * *aWindowRoot) = 0;
326 :
327 : /* [noscript] readonly attribute nsIDOMWindowCollection frames; */
328 : NS_IMETHOD GetFrames(nsIDOMWindowCollection * *aFrames) = 0;
329 :
330 : /* [noscript] attribute float textZoom; */
331 : NS_IMETHOD GetTextZoom(float *aTextZoom) = 0;
332 : NS_IMETHOD SetTextZoom(float aTextZoom) = 0;
333 :
334 : /* void scrollByLines (in long numLines); */
335 : NS_SCRIPTABLE NS_IMETHOD ScrollByLines(PRInt32 numLines) = 0;
336 :
337 : /* void scrollByPages (in long numPages); */
338 : NS_SCRIPTABLE NS_IMETHOD ScrollByPages(PRInt32 numPages) = 0;
339 :
340 : /* void sizeToContent (); */
341 : NS_SCRIPTABLE NS_IMETHOD SizeToContent(void) = 0;
342 :
343 : /* readonly attribute nsIDOMWindow content; */
344 : NS_SCRIPTABLE NS_IMETHOD GetContent(nsIDOMWindow * *aContent) = 0;
345 :
346 : /* [noscript] readonly attribute nsIPrompt prompter; */
347 : NS_IMETHOD GetPrompter(nsIPrompt * *aPrompter) = 0;
348 :
349 : /* readonly attribute boolean closed; */
350 : NS_SCRIPTABLE NS_IMETHOD GetClosed(bool *aClosed) = 0;
351 :
352 : /* readonly attribute nsIDOMCrypto crypto; */
353 : NS_SCRIPTABLE NS_IMETHOD GetCrypto(nsIDOMCrypto * *aCrypto) = 0;
354 :
355 : /* readonly attribute nsIDOMPkcs11 pkcs11; */
356 : NS_SCRIPTABLE NS_IMETHOD GetPkcs11(nsIDOMPkcs11 * *aPkcs11) = 0;
357 :
358 : /* readonly attribute nsIControllers controllers; */
359 : NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) = 0;
360 :
361 : /* attribute DOMString defaultStatus; */
362 : NS_SCRIPTABLE NS_IMETHOD GetDefaultStatus(nsAString & aDefaultStatus) = 0;
363 : NS_SCRIPTABLE NS_IMETHOD SetDefaultStatus(const nsAString & aDefaultStatus) = 0;
364 :
365 : /* readonly attribute float mozInnerScreenX; */
366 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenX(float *aMozInnerScreenX) = 0;
367 :
368 : /* readonly attribute float mozInnerScreenY; */
369 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenY(float *aMozInnerScreenY) = 0;
370 :
371 : /* readonly attribute long scrollMaxX; */
372 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxX(PRInt32 *aScrollMaxX) = 0;
373 :
374 : /* readonly attribute long scrollMaxY; */
375 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxY(PRInt32 *aScrollMaxY) = 0;
376 :
377 : /* attribute boolean fullScreen; */
378 : NS_SCRIPTABLE NS_IMETHOD GetFullScreen(bool *aFullScreen) = 0;
379 : NS_SCRIPTABLE NS_IMETHOD SetFullScreen(bool aFullScreen) = 0;
380 :
381 : /* void back (); */
382 : NS_SCRIPTABLE NS_IMETHOD Back(void) = 0;
383 :
384 : /* void forward (); */
385 : NS_SCRIPTABLE NS_IMETHOD Forward(void) = 0;
386 :
387 : /* void home (); */
388 : NS_SCRIPTABLE NS_IMETHOD Home(void) = 0;
389 :
390 : /* void moveTo (in long xPos, in long yPos); */
391 : NS_SCRIPTABLE NS_IMETHOD MoveTo(PRInt32 xPos, PRInt32 yPos) = 0;
392 :
393 : /* void moveBy (in long xDif, in long yDif); */
394 : NS_SCRIPTABLE NS_IMETHOD MoveBy(PRInt32 xDif, PRInt32 yDif) = 0;
395 :
396 : /* void resizeTo (in long width, in long height); */
397 : NS_SCRIPTABLE NS_IMETHOD ResizeTo(PRInt32 width, PRInt32 height) = 0;
398 :
399 : /* void resizeBy (in long widthDif, in long heightDif); */
400 : NS_SCRIPTABLE NS_IMETHOD ResizeBy(PRInt32 widthDif, PRInt32 heightDif) = 0;
401 :
402 : /* [noscript] nsIDOMWindow open (in DOMString url, in DOMString name, in DOMString options); */
403 : NS_IMETHOD Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow * *_retval NS_OUTPARAM) = 0;
404 :
405 : /* [noscript] nsIDOMWindow openDialog (in DOMString url, in DOMString name, in DOMString options, in nsISupports aExtraArgument); */
406 : NS_IMETHOD OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow * *_retval NS_OUTPARAM) = 0;
407 :
408 : /* void updateCommands (in DOMString action); */
409 : NS_SCRIPTABLE NS_IMETHOD UpdateCommands(const nsAString & action) = 0;
410 :
411 : /* boolean find ([optional] in DOMString str, [optional] in boolean caseSensitive, [optional] in boolean backwards, [optional] in boolean wrapAround, [optional] in boolean wholeWord, [optional] in boolean searchInFrames, [optional] in boolean showDialog); */
412 : NS_SCRIPTABLE NS_IMETHOD Find(const nsAString & str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog, bool *_retval NS_OUTPARAM) = 0;
413 :
414 : /* readonly attribute unsigned long long mozPaintCount; */
415 : NS_SCRIPTABLE NS_IMETHOD GetMozPaintCount(PRUint64 *aMozPaintCount) = 0;
416 :
417 : /* long mozRequestAnimationFrame ([optional] in nsIFrameRequestCallback aCallback); */
418 : NS_SCRIPTABLE NS_IMETHOD MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval NS_OUTPARAM) = 0;
419 :
420 : /* void mozCancelAnimationFrame (in long aHandle); */
421 : NS_SCRIPTABLE NS_IMETHOD MozCancelAnimationFrame(PRInt32 aHandle) = 0;
422 :
423 : /* void mozCancelRequestAnimationFrame (in long aHandle); */
424 : NS_SCRIPTABLE NS_IMETHOD MozCancelRequestAnimationFrame(PRInt32 aHandle) = 0;
425 :
426 : /* readonly attribute long long mozAnimationStartTime; */
427 : NS_SCRIPTABLE NS_IMETHOD GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime) = 0;
428 :
429 : /* readonly attribute nsIDOMMozURLProperty URL; */
430 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsIDOMMozURLProperty * *aURL) = 0;
431 :
432 : /* [implicit_jscontext] attribute jsval onafterprint; */
433 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) = 0;
434 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) = 0;
435 :
436 : /* [implicit_jscontext] attribute jsval onbeforeprint; */
437 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) = 0;
438 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) = 0;
439 :
440 : /* [implicit_jscontext] attribute jsval onbeforeunload; */
441 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) = 0;
442 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) = 0;
443 :
444 : /* [implicit_jscontext] attribute jsval onhashchange; */
445 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) = 0;
446 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) = 0;
447 :
448 : /* [implicit_jscontext] attribute jsval onmessage; */
449 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) = 0;
450 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) = 0;
451 :
452 : /* [implicit_jscontext] attribute jsval onoffline; */
453 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) = 0;
454 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) = 0;
455 :
456 : /* [implicit_jscontext] attribute jsval ononline; */
457 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) = 0;
458 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) = 0;
459 :
460 : /* [implicit_jscontext] attribute jsval onpopstate; */
461 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) = 0;
462 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) = 0;
463 :
464 : /* [implicit_jscontext] attribute jsval onpagehide; */
465 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) = 0;
466 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) = 0;
467 :
468 : /* [implicit_jscontext] attribute jsval onpageshow; */
469 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) = 0;
470 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) = 0;
471 :
472 : /* [implicit_jscontext] attribute jsval onresize; */
473 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) = 0;
474 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) = 0;
475 :
476 : /* [implicit_jscontext] attribute jsval onunload; */
477 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) = 0;
478 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) = 0;
479 :
480 : /* [implicit_jscontext] attribute jsval ondevicemotion; */
481 : NS_SCRIPTABLE NS_IMETHOD GetOndevicemotion(JSContext* cx, JS::Value *aOndevicemotion) = 0;
482 : NS_SCRIPTABLE NS_IMETHOD SetOndevicemotion(JSContext* cx, const JS::Value & aOndevicemotion) = 0;
483 :
484 : /* [implicit_jscontext] attribute jsval ondeviceorientation; */
485 : NS_SCRIPTABLE NS_IMETHOD GetOndeviceorientation(JSContext* cx, JS::Value *aOndeviceorientation) = 0;
486 : NS_SCRIPTABLE NS_IMETHOD SetOndeviceorientation(JSContext* cx, const JS::Value & aOndeviceorientation) = 0;
487 :
488 : /* [implicit_jscontext] attribute jsval onmouseenter; */
489 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) = 0;
490 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) = 0;
491 :
492 : /* [implicit_jscontext] attribute jsval onmouseleave; */
493 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) = 0;
494 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) = 0;
495 :
496 : };
497 :
498 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMWindow, NS_IDOMWINDOW_IID)
499 :
500 : /* Use this macro when declaring classes that implement this interface. */
501 : #define NS_DECL_NSIDOMWINDOW \
502 : NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow); \
503 : NS_SCRIPTABLE NS_IMETHOD GetSelf(nsIDOMWindow * *aSelf); \
504 : NS_SCRIPTABLE NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument); \
505 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
506 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
507 : NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation); \
508 : NS_SCRIPTABLE NS_IMETHOD GetHistory(nsIDOMHistory * *aHistory); \
509 : NS_SCRIPTABLE NS_IMETHOD GetLocationbar(nsIDOMBarProp * *aLocationbar); \
510 : NS_SCRIPTABLE NS_IMETHOD GetMenubar(nsIDOMBarProp * *aMenubar); \
511 : NS_SCRIPTABLE NS_IMETHOD GetPersonalbar(nsIDOMBarProp * *aPersonalbar); \
512 : NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars); \
513 : NS_SCRIPTABLE NS_IMETHOD GetStatusbar(nsIDOMBarProp * *aStatusbar); \
514 : NS_SCRIPTABLE NS_IMETHOD GetToolbar(nsIDOMBarProp * *aToolbar); \
515 : NS_SCRIPTABLE NS_IMETHOD GetStatus(nsAString & aStatus); \
516 : NS_SCRIPTABLE NS_IMETHOD SetStatus(const nsAString & aStatus); \
517 : NS_SCRIPTABLE NS_IMETHOD Close(void); \
518 : NS_SCRIPTABLE NS_IMETHOD Stop(void); \
519 : NS_SCRIPTABLE NS_IMETHOD Focus(void); \
520 : NS_SCRIPTABLE NS_IMETHOD Blur(void); \
521 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
522 : NS_SCRIPTABLE NS_IMETHOD GetScriptableTop(nsIDOMWindow * *aTop); \
523 : NS_IMETHOD GetRealTop(nsIDOMWindow * *aRealTop); \
524 : NS_SCRIPTABLE NS_IMETHOD GetScriptableParent(nsIDOMWindow * *aParent); \
525 : NS_IMETHOD GetRealParent(nsIDOMWindow * *aRealParent); \
526 : NS_SCRIPTABLE NS_IMETHOD GetOpener(nsIDOMWindow * *aOpener); \
527 : NS_SCRIPTABLE NS_IMETHOD SetOpener(nsIDOMWindow *aOpener); \
528 : NS_SCRIPTABLE NS_IMETHOD GetScriptableFrameElement(nsIDOMElement * *aFrameElement); \
529 : NS_IMETHOD GetRealFrameElement(nsIDOMElement * *aRealFrameElement); \
530 : NS_SCRIPTABLE NS_IMETHOD GetNavigator(nsIDOMNavigator * *aNavigator); \
531 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIDOMOfflineResourceList * *aApplicationCache); \
532 : NS_SCRIPTABLE NS_IMETHOD Alert(const nsAString & text); \
533 : NS_SCRIPTABLE NS_IMETHOD Confirm(const nsAString & text, bool *_retval NS_OUTPARAM); \
534 : NS_SCRIPTABLE NS_IMETHOD Prompt(const nsAString & aMessage, const nsAString & aInitial, nsAString & _retval NS_OUTPARAM); \
535 : NS_SCRIPTABLE NS_IMETHOD Print(void); \
536 : NS_SCRIPTABLE NS_IMETHOD ShowModalDialog(const nsAString & aURI, nsIVariant *aArgs, const nsAString & aOptions, nsIVariant * *_retval NS_OUTPARAM); \
537 : NS_SCRIPTABLE NS_IMETHOD PostMessageMoz(const JS::Value & message, const nsAString & targetOrigin, JSContext* cx); \
538 : NS_SCRIPTABLE NS_IMETHOD Atob(const nsAString & aAsciiString, nsAString & _retval NS_OUTPARAM); \
539 : NS_SCRIPTABLE NS_IMETHOD Btoa(const nsAString & aBase64Data, nsAString & _retval NS_OUTPARAM); \
540 : NS_SCRIPTABLE NS_IMETHOD GetSessionStorage(nsIDOMStorage * *aSessionStorage); \
541 : NS_SCRIPTABLE NS_IMETHOD GetLocalStorage(nsIDOMStorage * *aLocalStorage); \
542 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM); \
543 : NS_SCRIPTABLE NS_IMETHOD MatchMedia(const nsAString & media_query_list, nsIDOMMediaQueryList * *_retval NS_OUTPARAM); \
544 : NS_SCRIPTABLE NS_IMETHOD GetScreen(nsIDOMScreen * *aScreen); \
545 : NS_SCRIPTABLE NS_IMETHOD GetInnerWidth(PRInt32 *aInnerWidth); \
546 : NS_SCRIPTABLE NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth); \
547 : NS_SCRIPTABLE NS_IMETHOD GetInnerHeight(PRInt32 *aInnerHeight); \
548 : NS_SCRIPTABLE NS_IMETHOD SetInnerHeight(PRInt32 aInnerHeight); \
549 : NS_SCRIPTABLE NS_IMETHOD GetScrollX(PRInt32 *aScrollX); \
550 : NS_SCRIPTABLE NS_IMETHOD GetPageXOffset(PRInt32 *aPageXOffset); \
551 : NS_SCRIPTABLE NS_IMETHOD GetScrollY(PRInt32 *aScrollY); \
552 : NS_SCRIPTABLE NS_IMETHOD GetPageYOffset(PRInt32 *aPageYOffset); \
553 : NS_SCRIPTABLE NS_IMETHOD Scroll(PRInt32 xScroll, PRInt32 yScroll); \
554 : NS_SCRIPTABLE NS_IMETHOD ScrollTo(PRInt32 xScroll, PRInt32 yScroll); \
555 : NS_SCRIPTABLE NS_IMETHOD ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif); \
556 : NS_SCRIPTABLE NS_IMETHOD GetScreenX(PRInt32 *aScreenX); \
557 : NS_SCRIPTABLE NS_IMETHOD SetScreenX(PRInt32 aScreenX); \
558 : NS_SCRIPTABLE NS_IMETHOD GetScreenY(PRInt32 *aScreenY); \
559 : NS_SCRIPTABLE NS_IMETHOD SetScreenY(PRInt32 aScreenY); \
560 : NS_SCRIPTABLE NS_IMETHOD GetOuterWidth(PRInt32 *aOuterWidth); \
561 : NS_SCRIPTABLE NS_IMETHOD SetOuterWidth(PRInt32 aOuterWidth); \
562 : NS_SCRIPTABLE NS_IMETHOD GetOuterHeight(PRInt32 *aOuterHeight); \
563 : NS_SCRIPTABLE NS_IMETHOD SetOuterHeight(PRInt32 aOuterHeight); \
564 : NS_SCRIPTABLE NS_IMETHOD GetComputedStyle(nsIDOMElement *elt, const nsAString & pseudoElt, nsIDOMCSSStyleDeclaration * *_retval NS_OUTPARAM); \
565 : NS_IMETHOD GetWindowRoot(nsIDOMEventTarget * *aWindowRoot); \
566 : NS_IMETHOD GetFrames(nsIDOMWindowCollection * *aFrames); \
567 : NS_IMETHOD GetTextZoom(float *aTextZoom); \
568 : NS_IMETHOD SetTextZoom(float aTextZoom); \
569 : NS_SCRIPTABLE NS_IMETHOD ScrollByLines(PRInt32 numLines); \
570 : NS_SCRIPTABLE NS_IMETHOD ScrollByPages(PRInt32 numPages); \
571 : NS_SCRIPTABLE NS_IMETHOD SizeToContent(void); \
572 : NS_SCRIPTABLE NS_IMETHOD GetContent(nsIDOMWindow * *aContent); \
573 : NS_IMETHOD GetPrompter(nsIPrompt * *aPrompter); \
574 : NS_SCRIPTABLE NS_IMETHOD GetClosed(bool *aClosed); \
575 : NS_SCRIPTABLE NS_IMETHOD GetCrypto(nsIDOMCrypto * *aCrypto); \
576 : NS_SCRIPTABLE NS_IMETHOD GetPkcs11(nsIDOMPkcs11 * *aPkcs11); \
577 : NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers); \
578 : NS_SCRIPTABLE NS_IMETHOD GetDefaultStatus(nsAString & aDefaultStatus); \
579 : NS_SCRIPTABLE NS_IMETHOD SetDefaultStatus(const nsAString & aDefaultStatus); \
580 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenX(float *aMozInnerScreenX); \
581 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenY(float *aMozInnerScreenY); \
582 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxX(PRInt32 *aScrollMaxX); \
583 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxY(PRInt32 *aScrollMaxY); \
584 : NS_SCRIPTABLE NS_IMETHOD GetFullScreen(bool *aFullScreen); \
585 : NS_SCRIPTABLE NS_IMETHOD SetFullScreen(bool aFullScreen); \
586 : NS_SCRIPTABLE NS_IMETHOD Back(void); \
587 : NS_SCRIPTABLE NS_IMETHOD Forward(void); \
588 : NS_SCRIPTABLE NS_IMETHOD Home(void); \
589 : NS_SCRIPTABLE NS_IMETHOD MoveTo(PRInt32 xPos, PRInt32 yPos); \
590 : NS_SCRIPTABLE NS_IMETHOD MoveBy(PRInt32 xDif, PRInt32 yDif); \
591 : NS_SCRIPTABLE NS_IMETHOD ResizeTo(PRInt32 width, PRInt32 height); \
592 : NS_SCRIPTABLE NS_IMETHOD ResizeBy(PRInt32 widthDif, PRInt32 heightDif); \
593 : NS_IMETHOD Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow * *_retval NS_OUTPARAM); \
594 : NS_IMETHOD OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow * *_retval NS_OUTPARAM); \
595 : NS_SCRIPTABLE NS_IMETHOD UpdateCommands(const nsAString & action); \
596 : NS_SCRIPTABLE NS_IMETHOD Find(const nsAString & str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog, bool *_retval NS_OUTPARAM); \
597 : NS_SCRIPTABLE NS_IMETHOD GetMozPaintCount(PRUint64 *aMozPaintCount); \
598 : NS_SCRIPTABLE NS_IMETHOD MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval NS_OUTPARAM); \
599 : NS_SCRIPTABLE NS_IMETHOD MozCancelAnimationFrame(PRInt32 aHandle); \
600 : NS_SCRIPTABLE NS_IMETHOD MozCancelRequestAnimationFrame(PRInt32 aHandle); \
601 : NS_SCRIPTABLE NS_IMETHOD GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime); \
602 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsIDOMMozURLProperty * *aURL); \
603 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint); \
604 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint); \
605 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint); \
606 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint); \
607 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload); \
608 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload); \
609 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange); \
610 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange); \
611 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage); \
612 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage); \
613 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline); \
614 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline); \
615 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline); \
616 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline); \
617 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate); \
618 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate); \
619 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide); \
620 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide); \
621 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow); \
622 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow); \
623 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize); \
624 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize); \
625 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload); \
626 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload); \
627 : NS_SCRIPTABLE NS_IMETHOD GetOndevicemotion(JSContext* cx, JS::Value *aOndevicemotion); \
628 : NS_SCRIPTABLE NS_IMETHOD SetOndevicemotion(JSContext* cx, const JS::Value & aOndevicemotion); \
629 : NS_SCRIPTABLE NS_IMETHOD GetOndeviceorientation(JSContext* cx, JS::Value *aOndeviceorientation); \
630 : NS_SCRIPTABLE NS_IMETHOD SetOndeviceorientation(JSContext* cx, const JS::Value & aOndeviceorientation); \
631 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter); \
632 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter); \
633 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave); \
634 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave);
635 :
636 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
637 : #define NS_FORWARD_NSIDOMWINDOW(_to) \
638 : NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) { return _to GetWindow(aWindow); } \
639 : NS_SCRIPTABLE NS_IMETHOD GetSelf(nsIDOMWindow * *aSelf) { return _to GetSelf(aSelf); } \
640 : NS_SCRIPTABLE NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) { return _to GetDocument(aDocument); } \
641 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
642 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
643 : NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) { return _to GetLocation(aLocation); } \
644 : NS_SCRIPTABLE NS_IMETHOD GetHistory(nsIDOMHistory * *aHistory) { return _to GetHistory(aHistory); } \
645 : NS_SCRIPTABLE NS_IMETHOD GetLocationbar(nsIDOMBarProp * *aLocationbar) { return _to GetLocationbar(aLocationbar); } \
646 : NS_SCRIPTABLE NS_IMETHOD GetMenubar(nsIDOMBarProp * *aMenubar) { return _to GetMenubar(aMenubar); } \
647 : NS_SCRIPTABLE NS_IMETHOD GetPersonalbar(nsIDOMBarProp * *aPersonalbar) { return _to GetPersonalbar(aPersonalbar); } \
648 : NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars) { return _to GetScrollbars(aScrollbars); } \
649 : NS_SCRIPTABLE NS_IMETHOD GetStatusbar(nsIDOMBarProp * *aStatusbar) { return _to GetStatusbar(aStatusbar); } \
650 : NS_SCRIPTABLE NS_IMETHOD GetToolbar(nsIDOMBarProp * *aToolbar) { return _to GetToolbar(aToolbar); } \
651 : NS_SCRIPTABLE NS_IMETHOD GetStatus(nsAString & aStatus) { return _to GetStatus(aStatus); } \
652 : NS_SCRIPTABLE NS_IMETHOD SetStatus(const nsAString & aStatus) { return _to SetStatus(aStatus); } \
653 : NS_SCRIPTABLE NS_IMETHOD Close(void) { return _to Close(); } \
654 : NS_SCRIPTABLE NS_IMETHOD Stop(void) { return _to Stop(); } \
655 : NS_SCRIPTABLE NS_IMETHOD Focus(void) { return _to Focus(); } \
656 : NS_SCRIPTABLE NS_IMETHOD Blur(void) { return _to Blur(); } \
657 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
658 : NS_SCRIPTABLE NS_IMETHOD GetScriptableTop(nsIDOMWindow * *aTop) { return _to GetScriptableTop(aTop); } \
659 : NS_IMETHOD GetRealTop(nsIDOMWindow * *aRealTop) { return _to GetRealTop(aRealTop); } \
660 : NS_SCRIPTABLE NS_IMETHOD GetScriptableParent(nsIDOMWindow * *aParent) { return _to GetScriptableParent(aParent); } \
661 : NS_IMETHOD GetRealParent(nsIDOMWindow * *aRealParent) { return _to GetRealParent(aRealParent); } \
662 : NS_SCRIPTABLE NS_IMETHOD GetOpener(nsIDOMWindow * *aOpener) { return _to GetOpener(aOpener); } \
663 : NS_SCRIPTABLE NS_IMETHOD SetOpener(nsIDOMWindow *aOpener) { return _to SetOpener(aOpener); } \
664 : NS_SCRIPTABLE NS_IMETHOD GetScriptableFrameElement(nsIDOMElement * *aFrameElement) { return _to GetScriptableFrameElement(aFrameElement); } \
665 : NS_IMETHOD GetRealFrameElement(nsIDOMElement * *aRealFrameElement) { return _to GetRealFrameElement(aRealFrameElement); } \
666 : NS_SCRIPTABLE NS_IMETHOD GetNavigator(nsIDOMNavigator * *aNavigator) { return _to GetNavigator(aNavigator); } \
667 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIDOMOfflineResourceList * *aApplicationCache) { return _to GetApplicationCache(aApplicationCache); } \
668 : NS_SCRIPTABLE NS_IMETHOD Alert(const nsAString & text) { return _to Alert(text); } \
669 : NS_SCRIPTABLE NS_IMETHOD Confirm(const nsAString & text, bool *_retval NS_OUTPARAM) { return _to Confirm(text, _retval); } \
670 : NS_SCRIPTABLE NS_IMETHOD Prompt(const nsAString & aMessage, const nsAString & aInitial, nsAString & _retval NS_OUTPARAM) { return _to Prompt(aMessage, aInitial, _retval); } \
671 : NS_SCRIPTABLE NS_IMETHOD Print(void) { return _to Print(); } \
672 : NS_SCRIPTABLE NS_IMETHOD ShowModalDialog(const nsAString & aURI, nsIVariant *aArgs, const nsAString & aOptions, nsIVariant * *_retval NS_OUTPARAM) { return _to ShowModalDialog(aURI, aArgs, aOptions, _retval); } \
673 : NS_SCRIPTABLE NS_IMETHOD PostMessageMoz(const JS::Value & message, const nsAString & targetOrigin, JSContext* cx) { return _to PostMessageMoz(message, targetOrigin, cx); } \
674 : NS_SCRIPTABLE NS_IMETHOD Atob(const nsAString & aAsciiString, nsAString & _retval NS_OUTPARAM) { return _to Atob(aAsciiString, _retval); } \
675 : NS_SCRIPTABLE NS_IMETHOD Btoa(const nsAString & aBase64Data, nsAString & _retval NS_OUTPARAM) { return _to Btoa(aBase64Data, _retval); } \
676 : NS_SCRIPTABLE NS_IMETHOD GetSessionStorage(nsIDOMStorage * *aSessionStorage) { return _to GetSessionStorage(aSessionStorage); } \
677 : NS_SCRIPTABLE NS_IMETHOD GetLocalStorage(nsIDOMStorage * *aLocalStorage) { return _to GetLocalStorage(aLocalStorage); } \
678 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) { return _to GetSelection(_retval); } \
679 : NS_SCRIPTABLE NS_IMETHOD MatchMedia(const nsAString & media_query_list, nsIDOMMediaQueryList * *_retval NS_OUTPARAM) { return _to MatchMedia(media_query_list, _retval); } \
680 : NS_SCRIPTABLE NS_IMETHOD GetScreen(nsIDOMScreen * *aScreen) { return _to GetScreen(aScreen); } \
681 : NS_SCRIPTABLE NS_IMETHOD GetInnerWidth(PRInt32 *aInnerWidth) { return _to GetInnerWidth(aInnerWidth); } \
682 : NS_SCRIPTABLE NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth) { return _to SetInnerWidth(aInnerWidth); } \
683 : NS_SCRIPTABLE NS_IMETHOD GetInnerHeight(PRInt32 *aInnerHeight) { return _to GetInnerHeight(aInnerHeight); } \
684 : NS_SCRIPTABLE NS_IMETHOD SetInnerHeight(PRInt32 aInnerHeight) { return _to SetInnerHeight(aInnerHeight); } \
685 : NS_SCRIPTABLE NS_IMETHOD GetScrollX(PRInt32 *aScrollX) { return _to GetScrollX(aScrollX); } \
686 : NS_SCRIPTABLE NS_IMETHOD GetPageXOffset(PRInt32 *aPageXOffset) { return _to GetPageXOffset(aPageXOffset); } \
687 : NS_SCRIPTABLE NS_IMETHOD GetScrollY(PRInt32 *aScrollY) { return _to GetScrollY(aScrollY); } \
688 : NS_SCRIPTABLE NS_IMETHOD GetPageYOffset(PRInt32 *aPageYOffset) { return _to GetPageYOffset(aPageYOffset); } \
689 : NS_SCRIPTABLE NS_IMETHOD Scroll(PRInt32 xScroll, PRInt32 yScroll) { return _to Scroll(xScroll, yScroll); } \
690 : NS_SCRIPTABLE NS_IMETHOD ScrollTo(PRInt32 xScroll, PRInt32 yScroll) { return _to ScrollTo(xScroll, yScroll); } \
691 : NS_SCRIPTABLE NS_IMETHOD ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif) { return _to ScrollBy(xScrollDif, yScrollDif); } \
692 : NS_SCRIPTABLE NS_IMETHOD GetScreenX(PRInt32 *aScreenX) { return _to GetScreenX(aScreenX); } \
693 : NS_SCRIPTABLE NS_IMETHOD SetScreenX(PRInt32 aScreenX) { return _to SetScreenX(aScreenX); } \
694 : NS_SCRIPTABLE NS_IMETHOD GetScreenY(PRInt32 *aScreenY) { return _to GetScreenY(aScreenY); } \
695 : NS_SCRIPTABLE NS_IMETHOD SetScreenY(PRInt32 aScreenY) { return _to SetScreenY(aScreenY); } \
696 : NS_SCRIPTABLE NS_IMETHOD GetOuterWidth(PRInt32 *aOuterWidth) { return _to GetOuterWidth(aOuterWidth); } \
697 : NS_SCRIPTABLE NS_IMETHOD SetOuterWidth(PRInt32 aOuterWidth) { return _to SetOuterWidth(aOuterWidth); } \
698 : NS_SCRIPTABLE NS_IMETHOD GetOuterHeight(PRInt32 *aOuterHeight) { return _to GetOuterHeight(aOuterHeight); } \
699 : NS_SCRIPTABLE NS_IMETHOD SetOuterHeight(PRInt32 aOuterHeight) { return _to SetOuterHeight(aOuterHeight); } \
700 : NS_SCRIPTABLE NS_IMETHOD GetComputedStyle(nsIDOMElement *elt, const nsAString & pseudoElt, nsIDOMCSSStyleDeclaration * *_retval NS_OUTPARAM) { return _to GetComputedStyle(elt, pseudoElt, _retval); } \
701 : NS_IMETHOD GetWindowRoot(nsIDOMEventTarget * *aWindowRoot) { return _to GetWindowRoot(aWindowRoot); } \
702 : NS_IMETHOD GetFrames(nsIDOMWindowCollection * *aFrames) { return _to GetFrames(aFrames); } \
703 : NS_IMETHOD GetTextZoom(float *aTextZoom) { return _to GetTextZoom(aTextZoom); } \
704 : NS_IMETHOD SetTextZoom(float aTextZoom) { return _to SetTextZoom(aTextZoom); } \
705 : NS_SCRIPTABLE NS_IMETHOD ScrollByLines(PRInt32 numLines) { return _to ScrollByLines(numLines); } \
706 : NS_SCRIPTABLE NS_IMETHOD ScrollByPages(PRInt32 numPages) { return _to ScrollByPages(numPages); } \
707 : NS_SCRIPTABLE NS_IMETHOD SizeToContent(void) { return _to SizeToContent(); } \
708 : NS_SCRIPTABLE NS_IMETHOD GetContent(nsIDOMWindow * *aContent) { return _to GetContent(aContent); } \
709 : NS_IMETHOD GetPrompter(nsIPrompt * *aPrompter) { return _to GetPrompter(aPrompter); } \
710 : NS_SCRIPTABLE NS_IMETHOD GetClosed(bool *aClosed) { return _to GetClosed(aClosed); } \
711 : NS_SCRIPTABLE NS_IMETHOD GetCrypto(nsIDOMCrypto * *aCrypto) { return _to GetCrypto(aCrypto); } \
712 : NS_SCRIPTABLE NS_IMETHOD GetPkcs11(nsIDOMPkcs11 * *aPkcs11) { return _to GetPkcs11(aPkcs11); } \
713 : NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) { return _to GetControllers(aControllers); } \
714 : NS_SCRIPTABLE NS_IMETHOD GetDefaultStatus(nsAString & aDefaultStatus) { return _to GetDefaultStatus(aDefaultStatus); } \
715 : NS_SCRIPTABLE NS_IMETHOD SetDefaultStatus(const nsAString & aDefaultStatus) { return _to SetDefaultStatus(aDefaultStatus); } \
716 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenX(float *aMozInnerScreenX) { return _to GetMozInnerScreenX(aMozInnerScreenX); } \
717 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenY(float *aMozInnerScreenY) { return _to GetMozInnerScreenY(aMozInnerScreenY); } \
718 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxX(PRInt32 *aScrollMaxX) { return _to GetScrollMaxX(aScrollMaxX); } \
719 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxY(PRInt32 *aScrollMaxY) { return _to GetScrollMaxY(aScrollMaxY); } \
720 : NS_SCRIPTABLE NS_IMETHOD GetFullScreen(bool *aFullScreen) { return _to GetFullScreen(aFullScreen); } \
721 : NS_SCRIPTABLE NS_IMETHOD SetFullScreen(bool aFullScreen) { return _to SetFullScreen(aFullScreen); } \
722 : NS_SCRIPTABLE NS_IMETHOD Back(void) { return _to Back(); } \
723 : NS_SCRIPTABLE NS_IMETHOD Forward(void) { return _to Forward(); } \
724 : NS_SCRIPTABLE NS_IMETHOD Home(void) { return _to Home(); } \
725 : NS_SCRIPTABLE NS_IMETHOD MoveTo(PRInt32 xPos, PRInt32 yPos) { return _to MoveTo(xPos, yPos); } \
726 : NS_SCRIPTABLE NS_IMETHOD MoveBy(PRInt32 xDif, PRInt32 yDif) { return _to MoveBy(xDif, yDif); } \
727 : NS_SCRIPTABLE NS_IMETHOD ResizeTo(PRInt32 width, PRInt32 height) { return _to ResizeTo(width, height); } \
728 : NS_SCRIPTABLE NS_IMETHOD ResizeBy(PRInt32 widthDif, PRInt32 heightDif) { return _to ResizeBy(widthDif, heightDif); } \
729 : NS_IMETHOD Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow * *_retval NS_OUTPARAM) { return _to Open(url, name, options, _retval); } \
730 : NS_IMETHOD OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow * *_retval NS_OUTPARAM) { return _to OpenDialog(url, name, options, aExtraArgument, _retval); } \
731 : NS_SCRIPTABLE NS_IMETHOD UpdateCommands(const nsAString & action) { return _to UpdateCommands(action); } \
732 : NS_SCRIPTABLE NS_IMETHOD Find(const nsAString & str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog, bool *_retval NS_OUTPARAM) { return _to Find(str, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog, _retval); } \
733 : NS_SCRIPTABLE NS_IMETHOD GetMozPaintCount(PRUint64 *aMozPaintCount) { return _to GetMozPaintCount(aMozPaintCount); } \
734 : NS_SCRIPTABLE NS_IMETHOD MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval NS_OUTPARAM) { return _to MozRequestAnimationFrame(aCallback, _retval); } \
735 : NS_SCRIPTABLE NS_IMETHOD MozCancelAnimationFrame(PRInt32 aHandle) { return _to MozCancelAnimationFrame(aHandle); } \
736 : NS_SCRIPTABLE NS_IMETHOD MozCancelRequestAnimationFrame(PRInt32 aHandle) { return _to MozCancelRequestAnimationFrame(aHandle); } \
737 : NS_SCRIPTABLE NS_IMETHOD GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime) { return _to GetMozAnimationStartTime(aMozAnimationStartTime); } \
738 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsIDOMMozURLProperty * *aURL) { return _to GetURL(aURL); } \
739 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) { return _to GetOnafterprint(cx, aOnafterprint); } \
740 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) { return _to SetOnafterprint(cx, aOnafterprint); } \
741 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) { return _to GetOnbeforeprint(cx, aOnbeforeprint); } \
742 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) { return _to SetOnbeforeprint(cx, aOnbeforeprint); } \
743 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) { return _to GetOnbeforeunload(cx, aOnbeforeunload); } \
744 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) { return _to SetOnbeforeunload(cx, aOnbeforeunload); } \
745 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) { return _to GetOnhashchange(cx, aOnhashchange); } \
746 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) { return _to SetOnhashchange(cx, aOnhashchange); } \
747 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) { return _to GetOnmessage(cx, aOnmessage); } \
748 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) { return _to SetOnmessage(cx, aOnmessage); } \
749 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) { return _to GetOnoffline(cx, aOnoffline); } \
750 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) { return _to SetOnoffline(cx, aOnoffline); } \
751 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) { return _to GetOnonline(cx, aOnonline); } \
752 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) { return _to SetOnonline(cx, aOnonline); } \
753 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) { return _to GetOnpopstate(cx, aOnpopstate); } \
754 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) { return _to SetOnpopstate(cx, aOnpopstate); } \
755 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) { return _to GetOnpagehide(cx, aOnpagehide); } \
756 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) { return _to SetOnpagehide(cx, aOnpagehide); } \
757 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) { return _to GetOnpageshow(cx, aOnpageshow); } \
758 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) { return _to SetOnpageshow(cx, aOnpageshow); } \
759 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) { return _to GetOnresize(cx, aOnresize); } \
760 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) { return _to SetOnresize(cx, aOnresize); } \
761 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) { return _to GetOnunload(cx, aOnunload); } \
762 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) { return _to SetOnunload(cx, aOnunload); } \
763 : NS_SCRIPTABLE NS_IMETHOD GetOndevicemotion(JSContext* cx, JS::Value *aOndevicemotion) { return _to GetOndevicemotion(cx, aOndevicemotion); } \
764 : NS_SCRIPTABLE NS_IMETHOD SetOndevicemotion(JSContext* cx, const JS::Value & aOndevicemotion) { return _to SetOndevicemotion(cx, aOndevicemotion); } \
765 : NS_SCRIPTABLE NS_IMETHOD GetOndeviceorientation(JSContext* cx, JS::Value *aOndeviceorientation) { return _to GetOndeviceorientation(cx, aOndeviceorientation); } \
766 : NS_SCRIPTABLE NS_IMETHOD SetOndeviceorientation(JSContext* cx, const JS::Value & aOndeviceorientation) { return _to SetOndeviceorientation(cx, aOndeviceorientation); } \
767 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) { return _to GetOnmouseenter(cx, aOnmouseenter); } \
768 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) { return _to SetOnmouseenter(cx, aOnmouseenter); } \
769 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) { return _to GetOnmouseleave(cx, aOnmouseleave); } \
770 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) { return _to SetOnmouseleave(cx, aOnmouseleave); }
771 :
772 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
773 : #define NS_FORWARD_SAFE_NSIDOMWINDOW(_to) \
774 : NS_SCRIPTABLE NS_IMETHOD GetWindow(nsIDOMWindow * *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindow(aWindow); } \
775 : NS_SCRIPTABLE NS_IMETHOD GetSelf(nsIDOMWindow * *aSelf) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelf(aSelf); } \
776 : NS_SCRIPTABLE NS_IMETHOD GetDocument(nsIDOMDocument * *aDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocument(aDocument); } \
777 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
778 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
779 : NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
780 : NS_SCRIPTABLE NS_IMETHOD GetHistory(nsIDOMHistory * *aHistory) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHistory(aHistory); } \
781 : NS_SCRIPTABLE NS_IMETHOD GetLocationbar(nsIDOMBarProp * *aLocationbar) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocationbar(aLocationbar); } \
782 : NS_SCRIPTABLE NS_IMETHOD GetMenubar(nsIDOMBarProp * *aMenubar) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMenubar(aMenubar); } \
783 : NS_SCRIPTABLE NS_IMETHOD GetPersonalbar(nsIDOMBarProp * *aPersonalbar) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPersonalbar(aPersonalbar); } \
784 : NS_SCRIPTABLE NS_IMETHOD GetScrollbars(nsIDOMBarProp * *aScrollbars) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollbars(aScrollbars); } \
785 : NS_SCRIPTABLE NS_IMETHOD GetStatusbar(nsIDOMBarProp * *aStatusbar) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusbar(aStatusbar); } \
786 : NS_SCRIPTABLE NS_IMETHOD GetToolbar(nsIDOMBarProp * *aToolbar) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetToolbar(aToolbar); } \
787 : NS_SCRIPTABLE NS_IMETHOD GetStatus(nsAString & aStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatus(aStatus); } \
788 : NS_SCRIPTABLE NS_IMETHOD SetStatus(const nsAString & aStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatus(aStatus); } \
789 : NS_SCRIPTABLE NS_IMETHOD Close(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
790 : NS_SCRIPTABLE NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
791 : NS_SCRIPTABLE NS_IMETHOD Focus(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Focus(); } \
792 : NS_SCRIPTABLE NS_IMETHOD Blur(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Blur(); } \
793 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
794 : NS_SCRIPTABLE NS_IMETHOD GetScriptableTop(nsIDOMWindow * *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptableTop(aTop); } \
795 : NS_IMETHOD GetRealTop(nsIDOMWindow * *aRealTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRealTop(aRealTop); } \
796 : NS_SCRIPTABLE NS_IMETHOD GetScriptableParent(nsIDOMWindow * *aParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptableParent(aParent); } \
797 : NS_IMETHOD GetRealParent(nsIDOMWindow * *aRealParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRealParent(aRealParent); } \
798 : NS_SCRIPTABLE NS_IMETHOD GetOpener(nsIDOMWindow * *aOpener) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOpener(aOpener); } \
799 : NS_SCRIPTABLE NS_IMETHOD SetOpener(nsIDOMWindow *aOpener) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOpener(aOpener); } \
800 : NS_SCRIPTABLE NS_IMETHOD GetScriptableFrameElement(nsIDOMElement * *aFrameElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptableFrameElement(aFrameElement); } \
801 : NS_IMETHOD GetRealFrameElement(nsIDOMElement * *aRealFrameElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRealFrameElement(aRealFrameElement); } \
802 : NS_SCRIPTABLE NS_IMETHOD GetNavigator(nsIDOMNavigator * *aNavigator) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNavigator(aNavigator); } \
803 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIDOMOfflineResourceList * *aApplicationCache) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplicationCache(aApplicationCache); } \
804 : NS_SCRIPTABLE NS_IMETHOD Alert(const nsAString & text) { return !_to ? NS_ERROR_NULL_POINTER : _to->Alert(text); } \
805 : NS_SCRIPTABLE NS_IMETHOD Confirm(const nsAString & text, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Confirm(text, _retval); } \
806 : NS_SCRIPTABLE NS_IMETHOD Prompt(const nsAString & aMessage, const nsAString & aInitial, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Prompt(aMessage, aInitial, _retval); } \
807 : NS_SCRIPTABLE NS_IMETHOD Print(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Print(); } \
808 : NS_SCRIPTABLE NS_IMETHOD ShowModalDialog(const nsAString & aURI, nsIVariant *aArgs, const nsAString & aOptions, nsIVariant * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowModalDialog(aURI, aArgs, aOptions, _retval); } \
809 : NS_SCRIPTABLE NS_IMETHOD PostMessageMoz(const JS::Value & message, const nsAString & targetOrigin, JSContext* cx) { return !_to ? NS_ERROR_NULL_POINTER : _to->PostMessageMoz(message, targetOrigin, cx); } \
810 : NS_SCRIPTABLE NS_IMETHOD Atob(const nsAString & aAsciiString, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Atob(aAsciiString, _retval); } \
811 : NS_SCRIPTABLE NS_IMETHOD Btoa(const nsAString & aBase64Data, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Btoa(aBase64Data, _retval); } \
812 : NS_SCRIPTABLE NS_IMETHOD GetSessionStorage(nsIDOMStorage * *aSessionStorage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSessionStorage(aSessionStorage); } \
813 : NS_SCRIPTABLE NS_IMETHOD GetLocalStorage(nsIDOMStorage * *aLocalStorage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalStorage(aLocalStorage); } \
814 : NS_SCRIPTABLE NS_IMETHOD GetSelection(nsISelection * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(_retval); } \
815 : NS_SCRIPTABLE NS_IMETHOD MatchMedia(const nsAString & media_query_list, nsIDOMMediaQueryList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MatchMedia(media_query_list, _retval); } \
816 : NS_SCRIPTABLE NS_IMETHOD GetScreen(nsIDOMScreen * *aScreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreen(aScreen); } \
817 : NS_SCRIPTABLE NS_IMETHOD GetInnerWidth(PRInt32 *aInnerWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInnerWidth(aInnerWidth); } \
818 : NS_SCRIPTABLE NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInnerWidth(aInnerWidth); } \
819 : NS_SCRIPTABLE NS_IMETHOD GetInnerHeight(PRInt32 *aInnerHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInnerHeight(aInnerHeight); } \
820 : NS_SCRIPTABLE NS_IMETHOD SetInnerHeight(PRInt32 aInnerHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInnerHeight(aInnerHeight); } \
821 : NS_SCRIPTABLE NS_IMETHOD GetScrollX(PRInt32 *aScrollX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollX(aScrollX); } \
822 : NS_SCRIPTABLE NS_IMETHOD GetPageXOffset(PRInt32 *aPageXOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPageXOffset(aPageXOffset); } \
823 : NS_SCRIPTABLE NS_IMETHOD GetScrollY(PRInt32 *aScrollY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollY(aScrollY); } \
824 : NS_SCRIPTABLE NS_IMETHOD GetPageYOffset(PRInt32 *aPageYOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPageYOffset(aPageYOffset); } \
825 : NS_SCRIPTABLE NS_IMETHOD Scroll(PRInt32 xScroll, PRInt32 yScroll) { return !_to ? NS_ERROR_NULL_POINTER : _to->Scroll(xScroll, yScroll); } \
826 : NS_SCRIPTABLE NS_IMETHOD ScrollTo(PRInt32 xScroll, PRInt32 yScroll) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollTo(xScroll, yScroll); } \
827 : NS_SCRIPTABLE NS_IMETHOD ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollBy(xScrollDif, yScrollDif); } \
828 : NS_SCRIPTABLE NS_IMETHOD GetScreenX(PRInt32 *aScreenX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreenX(aScreenX); } \
829 : NS_SCRIPTABLE NS_IMETHOD SetScreenX(PRInt32 aScreenX) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScreenX(aScreenX); } \
830 : NS_SCRIPTABLE NS_IMETHOD GetScreenY(PRInt32 *aScreenY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreenY(aScreenY); } \
831 : NS_SCRIPTABLE NS_IMETHOD SetScreenY(PRInt32 aScreenY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScreenY(aScreenY); } \
832 : NS_SCRIPTABLE NS_IMETHOD GetOuterWidth(PRInt32 *aOuterWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOuterWidth(aOuterWidth); } \
833 : NS_SCRIPTABLE NS_IMETHOD SetOuterWidth(PRInt32 aOuterWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOuterWidth(aOuterWidth); } \
834 : NS_SCRIPTABLE NS_IMETHOD GetOuterHeight(PRInt32 *aOuterHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOuterHeight(aOuterHeight); } \
835 : NS_SCRIPTABLE NS_IMETHOD SetOuterHeight(PRInt32 aOuterHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOuterHeight(aOuterHeight); } \
836 : NS_SCRIPTABLE NS_IMETHOD GetComputedStyle(nsIDOMElement *elt, const nsAString & pseudoElt, nsIDOMCSSStyleDeclaration * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComputedStyle(elt, pseudoElt, _retval); } \
837 : NS_IMETHOD GetWindowRoot(nsIDOMEventTarget * *aWindowRoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowRoot(aWindowRoot); } \
838 : NS_IMETHOD GetFrames(nsIDOMWindowCollection * *aFrames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrames(aFrames); } \
839 : NS_IMETHOD GetTextZoom(float *aTextZoom) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextZoom(aTextZoom); } \
840 : NS_IMETHOD SetTextZoom(float aTextZoom) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextZoom(aTextZoom); } \
841 : NS_SCRIPTABLE NS_IMETHOD ScrollByLines(PRInt32 numLines) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollByLines(numLines); } \
842 : NS_SCRIPTABLE NS_IMETHOD ScrollByPages(PRInt32 numPages) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollByPages(numPages); } \
843 : NS_SCRIPTABLE NS_IMETHOD SizeToContent(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SizeToContent(); } \
844 : NS_SCRIPTABLE NS_IMETHOD GetContent(nsIDOMWindow * *aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
845 : NS_IMETHOD GetPrompter(nsIPrompt * *aPrompter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrompter(aPrompter); } \
846 : NS_SCRIPTABLE NS_IMETHOD GetClosed(bool *aClosed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClosed(aClosed); } \
847 : NS_SCRIPTABLE NS_IMETHOD GetCrypto(nsIDOMCrypto * *aCrypto) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCrypto(aCrypto); } \
848 : NS_SCRIPTABLE NS_IMETHOD GetPkcs11(nsIDOMPkcs11 * *aPkcs11) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPkcs11(aPkcs11); } \
849 : NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllers(aControllers); } \
850 : NS_SCRIPTABLE NS_IMETHOD GetDefaultStatus(nsAString & aDefaultStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultStatus(aDefaultStatus); } \
851 : NS_SCRIPTABLE NS_IMETHOD SetDefaultStatus(const nsAString & aDefaultStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultStatus(aDefaultStatus); } \
852 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenX(float *aMozInnerScreenX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozInnerScreenX(aMozInnerScreenX); } \
853 : NS_SCRIPTABLE NS_IMETHOD GetMozInnerScreenY(float *aMozInnerScreenY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozInnerScreenY(aMozInnerScreenY); } \
854 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxX(PRInt32 *aScrollMaxX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollMaxX(aScrollMaxX); } \
855 : NS_SCRIPTABLE NS_IMETHOD GetScrollMaxY(PRInt32 *aScrollMaxY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollMaxY(aScrollMaxY); } \
856 : NS_SCRIPTABLE NS_IMETHOD GetFullScreen(bool *aFullScreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullScreen(aFullScreen); } \
857 : NS_SCRIPTABLE NS_IMETHOD SetFullScreen(bool aFullScreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullScreen(aFullScreen); } \
858 : NS_SCRIPTABLE NS_IMETHOD Back(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Back(); } \
859 : NS_SCRIPTABLE NS_IMETHOD Forward(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Forward(); } \
860 : NS_SCRIPTABLE NS_IMETHOD Home(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Home(); } \
861 : NS_SCRIPTABLE NS_IMETHOD MoveTo(PRInt32 xPos, PRInt32 yPos) { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveTo(xPos, yPos); } \
862 : NS_SCRIPTABLE NS_IMETHOD MoveBy(PRInt32 xDif, PRInt32 yDif) { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveBy(xDif, yDif); } \
863 : NS_SCRIPTABLE NS_IMETHOD ResizeTo(PRInt32 width, PRInt32 height) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResizeTo(width, height); } \
864 : NS_SCRIPTABLE NS_IMETHOD ResizeBy(PRInt32 widthDif, PRInt32 heightDif) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResizeBy(widthDif, heightDif); } \
865 : NS_IMETHOD Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(url, name, options, _retval); } \
866 : NS_IMETHOD OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OpenDialog(url, name, options, aExtraArgument, _retval); } \
867 : NS_SCRIPTABLE NS_IMETHOD UpdateCommands(const nsAString & action) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateCommands(action); } \
868 : NS_SCRIPTABLE NS_IMETHOD Find(const nsAString & str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Find(str, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog, _retval); } \
869 : NS_SCRIPTABLE NS_IMETHOD GetMozPaintCount(PRUint64 *aMozPaintCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozPaintCount(aMozPaintCount); } \
870 : NS_SCRIPTABLE NS_IMETHOD MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozRequestAnimationFrame(aCallback, _retval); } \
871 : NS_SCRIPTABLE NS_IMETHOD MozCancelAnimationFrame(PRInt32 aHandle) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozCancelAnimationFrame(aHandle); } \
872 : NS_SCRIPTABLE NS_IMETHOD MozCancelRequestAnimationFrame(PRInt32 aHandle) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozCancelRequestAnimationFrame(aHandle); } \
873 : NS_SCRIPTABLE NS_IMETHOD GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozAnimationStartTime(aMozAnimationStartTime); } \
874 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsIDOMMozURLProperty * *aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(aURL); } \
875 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnafterprint(cx, aOnafterprint); } \
876 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnafterprint(cx, aOnafterprint); } \
877 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnbeforeprint(cx, aOnbeforeprint); } \
878 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnbeforeprint(cx, aOnbeforeprint); } \
879 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnbeforeunload(cx, aOnbeforeunload); } \
880 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnbeforeunload(cx, aOnbeforeunload); } \
881 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnhashchange(cx, aOnhashchange); } \
882 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnhashchange(cx, aOnhashchange); } \
883 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmessage(cx, aOnmessage); } \
884 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmessage(cx, aOnmessage); } \
885 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnoffline(cx, aOnoffline); } \
886 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnoffline(cx, aOnoffline); } \
887 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnonline(cx, aOnonline); } \
888 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnonline(cx, aOnonline); } \
889 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpopstate(cx, aOnpopstate); } \
890 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpopstate(cx, aOnpopstate); } \
891 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpagehide(cx, aOnpagehide); } \
892 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpagehide(cx, aOnpagehide); } \
893 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpageshow(cx, aOnpageshow); } \
894 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpageshow(cx, aOnpageshow); } \
895 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnresize(cx, aOnresize); } \
896 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnresize(cx, aOnresize); } \
897 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnunload(cx, aOnunload); } \
898 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnunload(cx, aOnunload); } \
899 : NS_SCRIPTABLE NS_IMETHOD GetOndevicemotion(JSContext* cx, JS::Value *aOndevicemotion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOndevicemotion(cx, aOndevicemotion); } \
900 : NS_SCRIPTABLE NS_IMETHOD SetOndevicemotion(JSContext* cx, const JS::Value & aOndevicemotion) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOndevicemotion(cx, aOndevicemotion); } \
901 : NS_SCRIPTABLE NS_IMETHOD GetOndeviceorientation(JSContext* cx, JS::Value *aOndeviceorientation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOndeviceorientation(cx, aOndeviceorientation); } \
902 : NS_SCRIPTABLE NS_IMETHOD SetOndeviceorientation(JSContext* cx, const JS::Value & aOndeviceorientation) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOndeviceorientation(cx, aOndeviceorientation); } \
903 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmouseenter(cx, aOnmouseenter); } \
904 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmouseenter(cx, aOnmouseenter); } \
905 : NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmouseleave(cx, aOnmouseleave); } \
906 : NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmouseleave(cx, aOnmouseleave); }
907 :
908 : #if 0
909 : /* Use the code below as a template for the implementation class for this interface. */
910 :
911 : /* Header file */
912 : class nsDOMWindow : public nsIDOMWindow
913 : {
914 : public:
915 : NS_DECL_ISUPPORTS
916 : NS_DECL_NSIDOMWINDOW
917 :
918 : nsDOMWindow();
919 :
920 : private:
921 : ~nsDOMWindow();
922 :
923 : protected:
924 : /* additional members */
925 : };
926 :
927 : /* Implementation file */
928 : NS_IMPL_ISUPPORTS1(nsDOMWindow, nsIDOMWindow)
929 :
930 : nsDOMWindow::nsDOMWindow()
931 : {
932 : /* member initializers and constructor code */
933 : }
934 :
935 : nsDOMWindow::~nsDOMWindow()
936 : {
937 : /* destructor code */
938 : }
939 :
940 : /* readonly attribute nsIDOMWindow window; */
941 : NS_IMETHODIMP nsDOMWindow::GetWindow(nsIDOMWindow * *aWindow)
942 : {
943 : return NS_ERROR_NOT_IMPLEMENTED;
944 : }
945 :
946 : /* readonly attribute nsIDOMWindow self; */
947 : NS_IMETHODIMP nsDOMWindow::GetSelf(nsIDOMWindow * *aSelf)
948 : {
949 : return NS_ERROR_NOT_IMPLEMENTED;
950 : }
951 :
952 : /* readonly attribute nsIDOMDocument document; */
953 : NS_IMETHODIMP nsDOMWindow::GetDocument(nsIDOMDocument * *aDocument)
954 : {
955 : return NS_ERROR_NOT_IMPLEMENTED;
956 : }
957 :
958 : /* attribute DOMString name; */
959 : NS_IMETHODIMP nsDOMWindow::GetName(nsAString & aName)
960 : {
961 : return NS_ERROR_NOT_IMPLEMENTED;
962 : }
963 : NS_IMETHODIMP nsDOMWindow::SetName(const nsAString & aName)
964 : {
965 : return NS_ERROR_NOT_IMPLEMENTED;
966 : }
967 :
968 : /* readonly attribute nsIDOMLocation location; */
969 : NS_IMETHODIMP nsDOMWindow::GetLocation(nsIDOMLocation * *aLocation)
970 : {
971 : return NS_ERROR_NOT_IMPLEMENTED;
972 : }
973 :
974 : /* readonly attribute nsIDOMHistory history; */
975 : NS_IMETHODIMP nsDOMWindow::GetHistory(nsIDOMHistory * *aHistory)
976 : {
977 : return NS_ERROR_NOT_IMPLEMENTED;
978 : }
979 :
980 : /* readonly attribute nsIDOMBarProp locationbar; */
981 : NS_IMETHODIMP nsDOMWindow::GetLocationbar(nsIDOMBarProp * *aLocationbar)
982 : {
983 : return NS_ERROR_NOT_IMPLEMENTED;
984 : }
985 :
986 : /* readonly attribute nsIDOMBarProp menubar; */
987 : NS_IMETHODIMP nsDOMWindow::GetMenubar(nsIDOMBarProp * *aMenubar)
988 : {
989 : return NS_ERROR_NOT_IMPLEMENTED;
990 : }
991 :
992 : /* readonly attribute nsIDOMBarProp personalbar; */
993 : NS_IMETHODIMP nsDOMWindow::GetPersonalbar(nsIDOMBarProp * *aPersonalbar)
994 : {
995 : return NS_ERROR_NOT_IMPLEMENTED;
996 : }
997 :
998 : /* readonly attribute nsIDOMBarProp scrollbars; */
999 : NS_IMETHODIMP nsDOMWindow::GetScrollbars(nsIDOMBarProp * *aScrollbars)
1000 : {
1001 : return NS_ERROR_NOT_IMPLEMENTED;
1002 : }
1003 :
1004 : /* readonly attribute nsIDOMBarProp statusbar; */
1005 : NS_IMETHODIMP nsDOMWindow::GetStatusbar(nsIDOMBarProp * *aStatusbar)
1006 : {
1007 : return NS_ERROR_NOT_IMPLEMENTED;
1008 : }
1009 :
1010 : /* readonly attribute nsIDOMBarProp toolbar; */
1011 : NS_IMETHODIMP nsDOMWindow::GetToolbar(nsIDOMBarProp * *aToolbar)
1012 : {
1013 : return NS_ERROR_NOT_IMPLEMENTED;
1014 : }
1015 :
1016 : /* attribute DOMString status; */
1017 : NS_IMETHODIMP nsDOMWindow::GetStatus(nsAString & aStatus)
1018 : {
1019 : return NS_ERROR_NOT_IMPLEMENTED;
1020 : }
1021 : NS_IMETHODIMP nsDOMWindow::SetStatus(const nsAString & aStatus)
1022 : {
1023 : return NS_ERROR_NOT_IMPLEMENTED;
1024 : }
1025 :
1026 : /* void close (); */
1027 : NS_IMETHODIMP nsDOMWindow::Close()
1028 : {
1029 : return NS_ERROR_NOT_IMPLEMENTED;
1030 : }
1031 :
1032 : /* void stop (); */
1033 : NS_IMETHODIMP nsDOMWindow::Stop()
1034 : {
1035 : return NS_ERROR_NOT_IMPLEMENTED;
1036 : }
1037 :
1038 : /* void focus (); */
1039 : NS_IMETHODIMP nsDOMWindow::Focus()
1040 : {
1041 : return NS_ERROR_NOT_IMPLEMENTED;
1042 : }
1043 :
1044 : /* void blur (); */
1045 : NS_IMETHODIMP nsDOMWindow::Blur()
1046 : {
1047 : return NS_ERROR_NOT_IMPLEMENTED;
1048 : }
1049 :
1050 : /* readonly attribute unsigned long length; */
1051 : NS_IMETHODIMP nsDOMWindow::GetLength(PRUint32 *aLength)
1052 : {
1053 : return NS_ERROR_NOT_IMPLEMENTED;
1054 : }
1055 :
1056 : /* [binaryname(ScriptableTop)] readonly attribute nsIDOMWindow top; */
1057 : NS_IMETHODIMP nsDOMWindow::GetScriptableTop(nsIDOMWindow * *aTop)
1058 : {
1059 : return NS_ERROR_NOT_IMPLEMENTED;
1060 : }
1061 :
1062 : /* [noscript] readonly attribute nsIDOMWindow realTop; */
1063 : NS_IMETHODIMP nsDOMWindow::GetRealTop(nsIDOMWindow * *aRealTop)
1064 : {
1065 : return NS_ERROR_NOT_IMPLEMENTED;
1066 : }
1067 :
1068 : /* [binaryname(ScriptableParent)] readonly attribute nsIDOMWindow parent; */
1069 : NS_IMETHODIMP nsDOMWindow::GetScriptableParent(nsIDOMWindow * *aParent)
1070 : {
1071 : return NS_ERROR_NOT_IMPLEMENTED;
1072 : }
1073 :
1074 : /* [noscript] readonly attribute nsIDOMWindow realParent; */
1075 : NS_IMETHODIMP nsDOMWindow::GetRealParent(nsIDOMWindow * *aRealParent)
1076 : {
1077 : return NS_ERROR_NOT_IMPLEMENTED;
1078 : }
1079 :
1080 : /* attribute nsIDOMWindow opener; */
1081 : NS_IMETHODIMP nsDOMWindow::GetOpener(nsIDOMWindow * *aOpener)
1082 : {
1083 : return NS_ERROR_NOT_IMPLEMENTED;
1084 : }
1085 : NS_IMETHODIMP nsDOMWindow::SetOpener(nsIDOMWindow *aOpener)
1086 : {
1087 : return NS_ERROR_NOT_IMPLEMENTED;
1088 : }
1089 :
1090 : /* [binaryname(ScriptableFrameElement)] readonly attribute nsIDOMElement frameElement; */
1091 : NS_IMETHODIMP nsDOMWindow::GetScriptableFrameElement(nsIDOMElement * *aFrameElement)
1092 : {
1093 : return NS_ERROR_NOT_IMPLEMENTED;
1094 : }
1095 :
1096 : /* [noscript] readonly attribute nsIDOMElement realFrameElement; */
1097 : NS_IMETHODIMP nsDOMWindow::GetRealFrameElement(nsIDOMElement * *aRealFrameElement)
1098 : {
1099 : return NS_ERROR_NOT_IMPLEMENTED;
1100 : }
1101 :
1102 : /* readonly attribute nsIDOMNavigator navigator; */
1103 : NS_IMETHODIMP nsDOMWindow::GetNavigator(nsIDOMNavigator * *aNavigator)
1104 : {
1105 : return NS_ERROR_NOT_IMPLEMENTED;
1106 : }
1107 :
1108 : /* readonly attribute nsIDOMOfflineResourceList applicationCache; */
1109 : NS_IMETHODIMP nsDOMWindow::GetApplicationCache(nsIDOMOfflineResourceList * *aApplicationCache)
1110 : {
1111 : return NS_ERROR_NOT_IMPLEMENTED;
1112 : }
1113 :
1114 : /* void alert (in DOMString text); */
1115 : NS_IMETHODIMP nsDOMWindow::Alert(const nsAString & text)
1116 : {
1117 : return NS_ERROR_NOT_IMPLEMENTED;
1118 : }
1119 :
1120 : /* boolean confirm (in DOMString text); */
1121 : NS_IMETHODIMP nsDOMWindow::Confirm(const nsAString & text, bool *_retval NS_OUTPARAM)
1122 : {
1123 : return NS_ERROR_NOT_IMPLEMENTED;
1124 : }
1125 :
1126 : /* DOMString prompt ([optional] in DOMString aMessage, [optional] in DOMString aInitial); */
1127 : NS_IMETHODIMP nsDOMWindow::Prompt(const nsAString & aMessage, const nsAString & aInitial, nsAString & _retval NS_OUTPARAM)
1128 : {
1129 : return NS_ERROR_NOT_IMPLEMENTED;
1130 : }
1131 :
1132 : /* void print (); */
1133 : NS_IMETHODIMP nsDOMWindow::Print()
1134 : {
1135 : return NS_ERROR_NOT_IMPLEMENTED;
1136 : }
1137 :
1138 : /* nsIVariant showModalDialog (in DOMString aURI, [optional] in nsIVariant aArgs, [optional] in DOMString aOptions); */
1139 : NS_IMETHODIMP nsDOMWindow::ShowModalDialog(const nsAString & aURI, nsIVariant *aArgs, const nsAString & aOptions, nsIVariant * *_retval NS_OUTPARAM)
1140 : {
1141 : return NS_ERROR_NOT_IMPLEMENTED;
1142 : }
1143 :
1144 : /* [binaryname(PostMessageMoz),implicit_jscontext] void postMessage (in jsval message, in DOMString targetOrigin); */
1145 : NS_IMETHODIMP nsDOMWindow::PostMessageMoz(const JS::Value & message, const nsAString & targetOrigin, JSContext* cx)
1146 : {
1147 : return NS_ERROR_NOT_IMPLEMENTED;
1148 : }
1149 :
1150 : /* DOMString atob (in DOMString aAsciiString); */
1151 : NS_IMETHODIMP nsDOMWindow::Atob(const nsAString & aAsciiString, nsAString & _retval NS_OUTPARAM)
1152 : {
1153 : return NS_ERROR_NOT_IMPLEMENTED;
1154 : }
1155 :
1156 : /* DOMString btoa (in DOMString aBase64Data); */
1157 : NS_IMETHODIMP nsDOMWindow::Btoa(const nsAString & aBase64Data, nsAString & _retval NS_OUTPARAM)
1158 : {
1159 : return NS_ERROR_NOT_IMPLEMENTED;
1160 : }
1161 :
1162 : /* readonly attribute nsIDOMStorage sessionStorage; */
1163 : NS_IMETHODIMP nsDOMWindow::GetSessionStorage(nsIDOMStorage * *aSessionStorage)
1164 : {
1165 : return NS_ERROR_NOT_IMPLEMENTED;
1166 : }
1167 :
1168 : /* readonly attribute nsIDOMStorage localStorage; */
1169 : NS_IMETHODIMP nsDOMWindow::GetLocalStorage(nsIDOMStorage * *aLocalStorage)
1170 : {
1171 : return NS_ERROR_NOT_IMPLEMENTED;
1172 : }
1173 :
1174 : /* nsISelection getSelection (); */
1175 : NS_IMETHODIMP nsDOMWindow::GetSelection(nsISelection * *_retval NS_OUTPARAM)
1176 : {
1177 : return NS_ERROR_NOT_IMPLEMENTED;
1178 : }
1179 :
1180 : /* nsIDOMMediaQueryList matchMedia (in DOMString media_query_list); */
1181 : NS_IMETHODIMP nsDOMWindow::MatchMedia(const nsAString & media_query_list, nsIDOMMediaQueryList * *_retval NS_OUTPARAM)
1182 : {
1183 : return NS_ERROR_NOT_IMPLEMENTED;
1184 : }
1185 :
1186 : /* readonly attribute nsIDOMScreen screen; */
1187 : NS_IMETHODIMP nsDOMWindow::GetScreen(nsIDOMScreen * *aScreen)
1188 : {
1189 : return NS_ERROR_NOT_IMPLEMENTED;
1190 : }
1191 :
1192 : /* attribute long innerWidth; */
1193 : NS_IMETHODIMP nsDOMWindow::GetInnerWidth(PRInt32 *aInnerWidth)
1194 : {
1195 : return NS_ERROR_NOT_IMPLEMENTED;
1196 : }
1197 : NS_IMETHODIMP nsDOMWindow::SetInnerWidth(PRInt32 aInnerWidth)
1198 : {
1199 : return NS_ERROR_NOT_IMPLEMENTED;
1200 : }
1201 :
1202 : /* attribute long innerHeight; */
1203 : NS_IMETHODIMP nsDOMWindow::GetInnerHeight(PRInt32 *aInnerHeight)
1204 : {
1205 : return NS_ERROR_NOT_IMPLEMENTED;
1206 : }
1207 : NS_IMETHODIMP nsDOMWindow::SetInnerHeight(PRInt32 aInnerHeight)
1208 : {
1209 : return NS_ERROR_NOT_IMPLEMENTED;
1210 : }
1211 :
1212 : /* readonly attribute long scrollX; */
1213 : NS_IMETHODIMP nsDOMWindow::GetScrollX(PRInt32 *aScrollX)
1214 : {
1215 : return NS_ERROR_NOT_IMPLEMENTED;
1216 : }
1217 :
1218 : /* readonly attribute long pageXOffset; */
1219 : NS_IMETHODIMP nsDOMWindow::GetPageXOffset(PRInt32 *aPageXOffset)
1220 : {
1221 : return NS_ERROR_NOT_IMPLEMENTED;
1222 : }
1223 :
1224 : /* readonly attribute long scrollY; */
1225 : NS_IMETHODIMP nsDOMWindow::GetScrollY(PRInt32 *aScrollY)
1226 : {
1227 : return NS_ERROR_NOT_IMPLEMENTED;
1228 : }
1229 :
1230 : /* readonly attribute long pageYOffset; */
1231 : NS_IMETHODIMP nsDOMWindow::GetPageYOffset(PRInt32 *aPageYOffset)
1232 : {
1233 : return NS_ERROR_NOT_IMPLEMENTED;
1234 : }
1235 :
1236 : /* void scroll (in long xScroll, in long yScroll); */
1237 : NS_IMETHODIMP nsDOMWindow::Scroll(PRInt32 xScroll, PRInt32 yScroll)
1238 : {
1239 : return NS_ERROR_NOT_IMPLEMENTED;
1240 : }
1241 :
1242 : /* void scrollTo (in long xScroll, in long yScroll); */
1243 : NS_IMETHODIMP nsDOMWindow::ScrollTo(PRInt32 xScroll, PRInt32 yScroll)
1244 : {
1245 : return NS_ERROR_NOT_IMPLEMENTED;
1246 : }
1247 :
1248 : /* void scrollBy (in long xScrollDif, in long yScrollDif); */
1249 : NS_IMETHODIMP nsDOMWindow::ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif)
1250 : {
1251 : return NS_ERROR_NOT_IMPLEMENTED;
1252 : }
1253 :
1254 : /* attribute long screenX; */
1255 : NS_IMETHODIMP nsDOMWindow::GetScreenX(PRInt32 *aScreenX)
1256 : {
1257 : return NS_ERROR_NOT_IMPLEMENTED;
1258 : }
1259 : NS_IMETHODIMP nsDOMWindow::SetScreenX(PRInt32 aScreenX)
1260 : {
1261 : return NS_ERROR_NOT_IMPLEMENTED;
1262 : }
1263 :
1264 : /* attribute long screenY; */
1265 : NS_IMETHODIMP nsDOMWindow::GetScreenY(PRInt32 *aScreenY)
1266 : {
1267 : return NS_ERROR_NOT_IMPLEMENTED;
1268 : }
1269 : NS_IMETHODIMP nsDOMWindow::SetScreenY(PRInt32 aScreenY)
1270 : {
1271 : return NS_ERROR_NOT_IMPLEMENTED;
1272 : }
1273 :
1274 : /* attribute long outerWidth; */
1275 : NS_IMETHODIMP nsDOMWindow::GetOuterWidth(PRInt32 *aOuterWidth)
1276 : {
1277 : return NS_ERROR_NOT_IMPLEMENTED;
1278 : }
1279 : NS_IMETHODIMP nsDOMWindow::SetOuterWidth(PRInt32 aOuterWidth)
1280 : {
1281 : return NS_ERROR_NOT_IMPLEMENTED;
1282 : }
1283 :
1284 : /* attribute long outerHeight; */
1285 : NS_IMETHODIMP nsDOMWindow::GetOuterHeight(PRInt32 *aOuterHeight)
1286 : {
1287 : return NS_ERROR_NOT_IMPLEMENTED;
1288 : }
1289 : NS_IMETHODIMP nsDOMWindow::SetOuterHeight(PRInt32 aOuterHeight)
1290 : {
1291 : return NS_ERROR_NOT_IMPLEMENTED;
1292 : }
1293 :
1294 : /* nsIDOMCSSStyleDeclaration getComputedStyle (in nsIDOMElement elt, [optional] in DOMString pseudoElt); */
1295 : NS_IMETHODIMP nsDOMWindow::GetComputedStyle(nsIDOMElement *elt, const nsAString & pseudoElt, nsIDOMCSSStyleDeclaration * *_retval NS_OUTPARAM)
1296 : {
1297 : return NS_ERROR_NOT_IMPLEMENTED;
1298 : }
1299 :
1300 : /* [noscript] readonly attribute nsIDOMEventTarget windowRoot; */
1301 : NS_IMETHODIMP nsDOMWindow::GetWindowRoot(nsIDOMEventTarget * *aWindowRoot)
1302 : {
1303 : return NS_ERROR_NOT_IMPLEMENTED;
1304 : }
1305 :
1306 : /* [noscript] readonly attribute nsIDOMWindowCollection frames; */
1307 : NS_IMETHODIMP nsDOMWindow::GetFrames(nsIDOMWindowCollection * *aFrames)
1308 : {
1309 : return NS_ERROR_NOT_IMPLEMENTED;
1310 : }
1311 :
1312 : /* [noscript] attribute float textZoom; */
1313 : NS_IMETHODIMP nsDOMWindow::GetTextZoom(float *aTextZoom)
1314 : {
1315 : return NS_ERROR_NOT_IMPLEMENTED;
1316 : }
1317 : NS_IMETHODIMP nsDOMWindow::SetTextZoom(float aTextZoom)
1318 : {
1319 : return NS_ERROR_NOT_IMPLEMENTED;
1320 : }
1321 :
1322 : /* void scrollByLines (in long numLines); */
1323 : NS_IMETHODIMP nsDOMWindow::ScrollByLines(PRInt32 numLines)
1324 : {
1325 : return NS_ERROR_NOT_IMPLEMENTED;
1326 : }
1327 :
1328 : /* void scrollByPages (in long numPages); */
1329 : NS_IMETHODIMP nsDOMWindow::ScrollByPages(PRInt32 numPages)
1330 : {
1331 : return NS_ERROR_NOT_IMPLEMENTED;
1332 : }
1333 :
1334 : /* void sizeToContent (); */
1335 : NS_IMETHODIMP nsDOMWindow::SizeToContent()
1336 : {
1337 : return NS_ERROR_NOT_IMPLEMENTED;
1338 : }
1339 :
1340 : /* readonly attribute nsIDOMWindow content; */
1341 : NS_IMETHODIMP nsDOMWindow::GetContent(nsIDOMWindow * *aContent)
1342 : {
1343 : return NS_ERROR_NOT_IMPLEMENTED;
1344 : }
1345 :
1346 : /* [noscript] readonly attribute nsIPrompt prompter; */
1347 : NS_IMETHODIMP nsDOMWindow::GetPrompter(nsIPrompt * *aPrompter)
1348 : {
1349 : return NS_ERROR_NOT_IMPLEMENTED;
1350 : }
1351 :
1352 : /* readonly attribute boolean closed; */
1353 : NS_IMETHODIMP nsDOMWindow::GetClosed(bool *aClosed)
1354 : {
1355 : return NS_ERROR_NOT_IMPLEMENTED;
1356 : }
1357 :
1358 : /* readonly attribute nsIDOMCrypto crypto; */
1359 : NS_IMETHODIMP nsDOMWindow::GetCrypto(nsIDOMCrypto * *aCrypto)
1360 : {
1361 : return NS_ERROR_NOT_IMPLEMENTED;
1362 : }
1363 :
1364 : /* readonly attribute nsIDOMPkcs11 pkcs11; */
1365 : NS_IMETHODIMP nsDOMWindow::GetPkcs11(nsIDOMPkcs11 * *aPkcs11)
1366 : {
1367 : return NS_ERROR_NOT_IMPLEMENTED;
1368 : }
1369 :
1370 : /* readonly attribute nsIControllers controllers; */
1371 : NS_IMETHODIMP nsDOMWindow::GetControllers(nsIControllers * *aControllers)
1372 : {
1373 : return NS_ERROR_NOT_IMPLEMENTED;
1374 : }
1375 :
1376 : /* attribute DOMString defaultStatus; */
1377 : NS_IMETHODIMP nsDOMWindow::GetDefaultStatus(nsAString & aDefaultStatus)
1378 : {
1379 : return NS_ERROR_NOT_IMPLEMENTED;
1380 : }
1381 : NS_IMETHODIMP nsDOMWindow::SetDefaultStatus(const nsAString & aDefaultStatus)
1382 : {
1383 : return NS_ERROR_NOT_IMPLEMENTED;
1384 : }
1385 :
1386 : /* readonly attribute float mozInnerScreenX; */
1387 : NS_IMETHODIMP nsDOMWindow::GetMozInnerScreenX(float *aMozInnerScreenX)
1388 : {
1389 : return NS_ERROR_NOT_IMPLEMENTED;
1390 : }
1391 :
1392 : /* readonly attribute float mozInnerScreenY; */
1393 : NS_IMETHODIMP nsDOMWindow::GetMozInnerScreenY(float *aMozInnerScreenY)
1394 : {
1395 : return NS_ERROR_NOT_IMPLEMENTED;
1396 : }
1397 :
1398 : /* readonly attribute long scrollMaxX; */
1399 : NS_IMETHODIMP nsDOMWindow::GetScrollMaxX(PRInt32 *aScrollMaxX)
1400 : {
1401 : return NS_ERROR_NOT_IMPLEMENTED;
1402 : }
1403 :
1404 : /* readonly attribute long scrollMaxY; */
1405 : NS_IMETHODIMP nsDOMWindow::GetScrollMaxY(PRInt32 *aScrollMaxY)
1406 : {
1407 : return NS_ERROR_NOT_IMPLEMENTED;
1408 : }
1409 :
1410 : /* attribute boolean fullScreen; */
1411 : NS_IMETHODIMP nsDOMWindow::GetFullScreen(bool *aFullScreen)
1412 : {
1413 : return NS_ERROR_NOT_IMPLEMENTED;
1414 : }
1415 : NS_IMETHODIMP nsDOMWindow::SetFullScreen(bool aFullScreen)
1416 : {
1417 : return NS_ERROR_NOT_IMPLEMENTED;
1418 : }
1419 :
1420 : /* void back (); */
1421 : NS_IMETHODIMP nsDOMWindow::Back()
1422 : {
1423 : return NS_ERROR_NOT_IMPLEMENTED;
1424 : }
1425 :
1426 : /* void forward (); */
1427 : NS_IMETHODIMP nsDOMWindow::Forward()
1428 : {
1429 : return NS_ERROR_NOT_IMPLEMENTED;
1430 : }
1431 :
1432 : /* void home (); */
1433 : NS_IMETHODIMP nsDOMWindow::Home()
1434 : {
1435 : return NS_ERROR_NOT_IMPLEMENTED;
1436 : }
1437 :
1438 : /* void moveTo (in long xPos, in long yPos); */
1439 : NS_IMETHODIMP nsDOMWindow::MoveTo(PRInt32 xPos, PRInt32 yPos)
1440 : {
1441 : return NS_ERROR_NOT_IMPLEMENTED;
1442 : }
1443 :
1444 : /* void moveBy (in long xDif, in long yDif); */
1445 : NS_IMETHODIMP nsDOMWindow::MoveBy(PRInt32 xDif, PRInt32 yDif)
1446 : {
1447 : return NS_ERROR_NOT_IMPLEMENTED;
1448 : }
1449 :
1450 : /* void resizeTo (in long width, in long height); */
1451 : NS_IMETHODIMP nsDOMWindow::ResizeTo(PRInt32 width, PRInt32 height)
1452 : {
1453 : return NS_ERROR_NOT_IMPLEMENTED;
1454 : }
1455 :
1456 : /* void resizeBy (in long widthDif, in long heightDif); */
1457 : NS_IMETHODIMP nsDOMWindow::ResizeBy(PRInt32 widthDif, PRInt32 heightDif)
1458 : {
1459 : return NS_ERROR_NOT_IMPLEMENTED;
1460 : }
1461 :
1462 : /* [noscript] nsIDOMWindow open (in DOMString url, in DOMString name, in DOMString options); */
1463 : NS_IMETHODIMP nsDOMWindow::Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow * *_retval NS_OUTPARAM)
1464 : {
1465 : return NS_ERROR_NOT_IMPLEMENTED;
1466 : }
1467 :
1468 : /* [noscript] nsIDOMWindow openDialog (in DOMString url, in DOMString name, in DOMString options, in nsISupports aExtraArgument); */
1469 : NS_IMETHODIMP nsDOMWindow::OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow * *_retval NS_OUTPARAM)
1470 : {
1471 : return NS_ERROR_NOT_IMPLEMENTED;
1472 : }
1473 :
1474 : /* void updateCommands (in DOMString action); */
1475 : NS_IMETHODIMP nsDOMWindow::UpdateCommands(const nsAString & action)
1476 : {
1477 : return NS_ERROR_NOT_IMPLEMENTED;
1478 : }
1479 :
1480 : /* boolean find ([optional] in DOMString str, [optional] in boolean caseSensitive, [optional] in boolean backwards, [optional] in boolean wrapAround, [optional] in boolean wholeWord, [optional] in boolean searchInFrames, [optional] in boolean showDialog); */
1481 : NS_IMETHODIMP nsDOMWindow::Find(const nsAString & str, bool caseSensitive, bool backwards, bool wrapAround, bool wholeWord, bool searchInFrames, bool showDialog, bool *_retval NS_OUTPARAM)
1482 : {
1483 : return NS_ERROR_NOT_IMPLEMENTED;
1484 : }
1485 :
1486 : /* readonly attribute unsigned long long mozPaintCount; */
1487 : NS_IMETHODIMP nsDOMWindow::GetMozPaintCount(PRUint64 *aMozPaintCount)
1488 : {
1489 : return NS_ERROR_NOT_IMPLEMENTED;
1490 : }
1491 :
1492 : /* long mozRequestAnimationFrame ([optional] in nsIFrameRequestCallback aCallback); */
1493 : NS_IMETHODIMP nsDOMWindow::MozRequestAnimationFrame(nsIFrameRequestCallback *aCallback, PRInt32 *_retval NS_OUTPARAM)
1494 : {
1495 : return NS_ERROR_NOT_IMPLEMENTED;
1496 : }
1497 :
1498 : /* void mozCancelAnimationFrame (in long aHandle); */
1499 : NS_IMETHODIMP nsDOMWindow::MozCancelAnimationFrame(PRInt32 aHandle)
1500 : {
1501 : return NS_ERROR_NOT_IMPLEMENTED;
1502 : }
1503 :
1504 : /* void mozCancelRequestAnimationFrame (in long aHandle); */
1505 : NS_IMETHODIMP nsDOMWindow::MozCancelRequestAnimationFrame(PRInt32 aHandle)
1506 : {
1507 : return NS_ERROR_NOT_IMPLEMENTED;
1508 : }
1509 :
1510 : /* readonly attribute long long mozAnimationStartTime; */
1511 : NS_IMETHODIMP nsDOMWindow::GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime)
1512 : {
1513 : return NS_ERROR_NOT_IMPLEMENTED;
1514 : }
1515 :
1516 : /* readonly attribute nsIDOMMozURLProperty URL; */
1517 : NS_IMETHODIMP nsDOMWindow::GetURL(nsIDOMMozURLProperty * *aURL)
1518 : {
1519 : return NS_ERROR_NOT_IMPLEMENTED;
1520 : }
1521 :
1522 : /* [implicit_jscontext] attribute jsval onafterprint; */
1523 : NS_IMETHODIMP nsDOMWindow::GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint)
1524 : {
1525 : return NS_ERROR_NOT_IMPLEMENTED;
1526 : }
1527 : NS_IMETHODIMP nsDOMWindow::SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint)
1528 : {
1529 : return NS_ERROR_NOT_IMPLEMENTED;
1530 : }
1531 :
1532 : /* [implicit_jscontext] attribute jsval onbeforeprint; */
1533 : NS_IMETHODIMP nsDOMWindow::GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint)
1534 : {
1535 : return NS_ERROR_NOT_IMPLEMENTED;
1536 : }
1537 : NS_IMETHODIMP nsDOMWindow::SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint)
1538 : {
1539 : return NS_ERROR_NOT_IMPLEMENTED;
1540 : }
1541 :
1542 : /* [implicit_jscontext] attribute jsval onbeforeunload; */
1543 : NS_IMETHODIMP nsDOMWindow::GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload)
1544 : {
1545 : return NS_ERROR_NOT_IMPLEMENTED;
1546 : }
1547 : NS_IMETHODIMP nsDOMWindow::SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload)
1548 : {
1549 : return NS_ERROR_NOT_IMPLEMENTED;
1550 : }
1551 :
1552 : /* [implicit_jscontext] attribute jsval onhashchange; */
1553 : NS_IMETHODIMP nsDOMWindow::GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange)
1554 : {
1555 : return NS_ERROR_NOT_IMPLEMENTED;
1556 : }
1557 : NS_IMETHODIMP nsDOMWindow::SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange)
1558 : {
1559 : return NS_ERROR_NOT_IMPLEMENTED;
1560 : }
1561 :
1562 : /* [implicit_jscontext] attribute jsval onmessage; */
1563 : NS_IMETHODIMP nsDOMWindow::GetOnmessage(JSContext* cx, JS::Value *aOnmessage)
1564 : {
1565 : return NS_ERROR_NOT_IMPLEMENTED;
1566 : }
1567 : NS_IMETHODIMP nsDOMWindow::SetOnmessage(JSContext* cx, const JS::Value & aOnmessage)
1568 : {
1569 : return NS_ERROR_NOT_IMPLEMENTED;
1570 : }
1571 :
1572 : /* [implicit_jscontext] attribute jsval onoffline; */
1573 : NS_IMETHODIMP nsDOMWindow::GetOnoffline(JSContext* cx, JS::Value *aOnoffline)
1574 : {
1575 : return NS_ERROR_NOT_IMPLEMENTED;
1576 : }
1577 : NS_IMETHODIMP nsDOMWindow::SetOnoffline(JSContext* cx, const JS::Value & aOnoffline)
1578 : {
1579 : return NS_ERROR_NOT_IMPLEMENTED;
1580 : }
1581 :
1582 : /* [implicit_jscontext] attribute jsval ononline; */
1583 : NS_IMETHODIMP nsDOMWindow::GetOnonline(JSContext* cx, JS::Value *aOnonline)
1584 : {
1585 : return NS_ERROR_NOT_IMPLEMENTED;
1586 : }
1587 : NS_IMETHODIMP nsDOMWindow::SetOnonline(JSContext* cx, const JS::Value & aOnonline)
1588 : {
1589 : return NS_ERROR_NOT_IMPLEMENTED;
1590 : }
1591 :
1592 : /* [implicit_jscontext] attribute jsval onpopstate; */
1593 : NS_IMETHODIMP nsDOMWindow::GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate)
1594 : {
1595 : return NS_ERROR_NOT_IMPLEMENTED;
1596 : }
1597 : NS_IMETHODIMP nsDOMWindow::SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate)
1598 : {
1599 : return NS_ERROR_NOT_IMPLEMENTED;
1600 : }
1601 :
1602 : /* [implicit_jscontext] attribute jsval onpagehide; */
1603 : NS_IMETHODIMP nsDOMWindow::GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide)
1604 : {
1605 : return NS_ERROR_NOT_IMPLEMENTED;
1606 : }
1607 : NS_IMETHODIMP nsDOMWindow::SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide)
1608 : {
1609 : return NS_ERROR_NOT_IMPLEMENTED;
1610 : }
1611 :
1612 : /* [implicit_jscontext] attribute jsval onpageshow; */
1613 : NS_IMETHODIMP nsDOMWindow::GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow)
1614 : {
1615 : return NS_ERROR_NOT_IMPLEMENTED;
1616 : }
1617 : NS_IMETHODIMP nsDOMWindow::SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow)
1618 : {
1619 : return NS_ERROR_NOT_IMPLEMENTED;
1620 : }
1621 :
1622 : /* [implicit_jscontext] attribute jsval onresize; */
1623 : NS_IMETHODIMP nsDOMWindow::GetOnresize(JSContext* cx, JS::Value *aOnresize)
1624 : {
1625 : return NS_ERROR_NOT_IMPLEMENTED;
1626 : }
1627 : NS_IMETHODIMP nsDOMWindow::SetOnresize(JSContext* cx, const JS::Value & aOnresize)
1628 : {
1629 : return NS_ERROR_NOT_IMPLEMENTED;
1630 : }
1631 :
1632 : /* [implicit_jscontext] attribute jsval onunload; */
1633 : NS_IMETHODIMP nsDOMWindow::GetOnunload(JSContext* cx, JS::Value *aOnunload)
1634 : {
1635 : return NS_ERROR_NOT_IMPLEMENTED;
1636 : }
1637 : NS_IMETHODIMP nsDOMWindow::SetOnunload(JSContext* cx, const JS::Value & aOnunload)
1638 : {
1639 : return NS_ERROR_NOT_IMPLEMENTED;
1640 : }
1641 :
1642 : /* [implicit_jscontext] attribute jsval ondevicemotion; */
1643 : NS_IMETHODIMP nsDOMWindow::GetOndevicemotion(JSContext* cx, JS::Value *aOndevicemotion)
1644 : {
1645 : return NS_ERROR_NOT_IMPLEMENTED;
1646 : }
1647 : NS_IMETHODIMP nsDOMWindow::SetOndevicemotion(JSContext* cx, const JS::Value & aOndevicemotion)
1648 : {
1649 : return NS_ERROR_NOT_IMPLEMENTED;
1650 : }
1651 :
1652 : /* [implicit_jscontext] attribute jsval ondeviceorientation; */
1653 : NS_IMETHODIMP nsDOMWindow::GetOndeviceorientation(JSContext* cx, JS::Value *aOndeviceorientation)
1654 : {
1655 : return NS_ERROR_NOT_IMPLEMENTED;
1656 : }
1657 : NS_IMETHODIMP nsDOMWindow::SetOndeviceorientation(JSContext* cx, const JS::Value & aOndeviceorientation)
1658 : {
1659 : return NS_ERROR_NOT_IMPLEMENTED;
1660 : }
1661 :
1662 : /* [implicit_jscontext] attribute jsval onmouseenter; */
1663 : NS_IMETHODIMP nsDOMWindow::GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter)
1664 : {
1665 : return NS_ERROR_NOT_IMPLEMENTED;
1666 : }
1667 : NS_IMETHODIMP nsDOMWindow::SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter)
1668 : {
1669 : return NS_ERROR_NOT_IMPLEMENTED;
1670 : }
1671 :
1672 : /* [implicit_jscontext] attribute jsval onmouseleave; */
1673 : NS_IMETHODIMP nsDOMWindow::GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave)
1674 : {
1675 : return NS_ERROR_NOT_IMPLEMENTED;
1676 : }
1677 : NS_IMETHODIMP nsDOMWindow::SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave)
1678 : {
1679 : return NS_ERROR_NOT_IMPLEMENTED;
1680 : }
1681 :
1682 : /* End of implementation class template. */
1683 : #endif
1684 :
1685 :
1686 : /* starting interface: nsIDOMWindowPerformance */
1687 : #define NS_IDOMWINDOWPERFORMANCE_IID_STR "2146c906-57f7-486c-a1b4-8cdb57ef577f"
1688 :
1689 : #define NS_IDOMWINDOWPERFORMANCE_IID \
1690 : {0x2146c906, 0x57f7, 0x486c, \
1691 : { 0xa1, 0xb4, 0x8c, 0xdb, 0x57, 0xef, 0x57, 0x7f }}
1692 :
1693 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMWindowPerformance : public nsISupports {
1694 : public:
1695 :
1696 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMWINDOWPERFORMANCE_IID)
1697 :
1698 : /* readonly attribute nsIDOMPerformance performance; */
1699 : NS_SCRIPTABLE NS_IMETHOD GetPerformance(nsIDOMPerformance * *aPerformance) = 0;
1700 :
1701 : };
1702 :
1703 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMWindowPerformance, NS_IDOMWINDOWPERFORMANCE_IID)
1704 :
1705 : /* Use this macro when declaring classes that implement this interface. */
1706 : #define NS_DECL_NSIDOMWINDOWPERFORMANCE \
1707 : NS_SCRIPTABLE NS_IMETHOD GetPerformance(nsIDOMPerformance * *aPerformance);
1708 :
1709 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
1710 : #define NS_FORWARD_NSIDOMWINDOWPERFORMANCE(_to) \
1711 : NS_SCRIPTABLE NS_IMETHOD GetPerformance(nsIDOMPerformance * *aPerformance) { return _to GetPerformance(aPerformance); }
1712 :
1713 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
1714 : #define NS_FORWARD_SAFE_NSIDOMWINDOWPERFORMANCE(_to) \
1715 : NS_SCRIPTABLE NS_IMETHOD GetPerformance(nsIDOMPerformance * *aPerformance) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPerformance(aPerformance); }
1716 :
1717 : #if 0
1718 : /* Use the code below as a template for the implementation class for this interface. */
1719 :
1720 : /* Header file */
1721 : class nsDOMWindowPerformance : public nsIDOMWindowPerformance
1722 : {
1723 : public:
1724 : NS_DECL_ISUPPORTS
1725 : NS_DECL_NSIDOMWINDOWPERFORMANCE
1726 :
1727 : nsDOMWindowPerformance();
1728 :
1729 : private:
1730 : ~nsDOMWindowPerformance();
1731 :
1732 : protected:
1733 : /* additional members */
1734 : };
1735 :
1736 : /* Implementation file */
1737 : NS_IMPL_ISUPPORTS1(nsDOMWindowPerformance, nsIDOMWindowPerformance)
1738 :
1739 : nsDOMWindowPerformance::nsDOMWindowPerformance()
1740 : {
1741 : /* member initializers and constructor code */
1742 : }
1743 :
1744 : nsDOMWindowPerformance::~nsDOMWindowPerformance()
1745 : {
1746 : /* destructor code */
1747 : }
1748 :
1749 : /* readonly attribute nsIDOMPerformance performance; */
1750 : NS_IMETHODIMP nsDOMWindowPerformance::GetPerformance(nsIDOMPerformance * *aPerformance)
1751 : {
1752 : return NS_ERROR_NOT_IMPLEMENTED;
1753 : }
1754 :
1755 : /* End of implementation class template. */
1756 : #endif
1757 :
1758 :
1759 : /* starting interface: nsIDOMWindowInternal */
1760 : #define NS_IDOMWINDOWINTERNAL_IID_STR "8da641ab-906a-456e-97f2-b77df4ca2d95"
1761 :
1762 : #define NS_IDOMWINDOWINTERNAL_IID \
1763 : {0x8da641ab, 0x906a, 0x456e, \
1764 : { 0x97, 0xf2, 0xb7, 0x7d, 0xf4, 0xca, 0x2d, 0x95 }}
1765 :
1766 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMWindowInternal : public nsIDOMWindow {
1767 : public:
1768 :
1769 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMWINDOWINTERNAL_IID)
1770 :
1771 : };
1772 :
1773 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMWindowInternal, NS_IDOMWINDOWINTERNAL_IID)
1774 :
1775 : /* Use this macro when declaring classes that implement this interface. */
1776 : #define NS_DECL_NSIDOMWINDOWINTERNAL \
1777 : /* no methods! */
1778 :
1779 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
1780 : #define NS_FORWARD_NSIDOMWINDOWINTERNAL(_to) \
1781 : /* no methods! */
1782 :
1783 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
1784 : #define NS_FORWARD_SAFE_NSIDOMWINDOWINTERNAL(_to) \
1785 : /* no methods! */
1786 :
1787 : #if 0
1788 : /* Use the code below as a template for the implementation class for this interface. */
1789 :
1790 : /* Header file */
1791 : class nsDOMWindowInternal : public nsIDOMWindowInternal
1792 : {
1793 : public:
1794 : NS_DECL_ISUPPORTS
1795 : NS_DECL_NSIDOMWINDOWINTERNAL
1796 :
1797 : nsDOMWindowInternal();
1798 :
1799 : private:
1800 : ~nsDOMWindowInternal();
1801 :
1802 : protected:
1803 : /* additional members */
1804 : };
1805 :
1806 : /* Implementation file */
1807 : NS_IMPL_ISUPPORTS1(nsDOMWindowInternal, nsIDOMWindowInternal)
1808 :
1809 : nsDOMWindowInternal::nsDOMWindowInternal()
1810 : {
1811 : /* member initializers and constructor code */
1812 : }
1813 :
1814 : nsDOMWindowInternal::~nsDOMWindowInternal()
1815 : {
1816 : /* destructor code */
1817 : }
1818 :
1819 : /* End of implementation class template. */
1820 : #endif
1821 :
1822 :
1823 : #endif /* __gen_nsIDOMWindow_h__ */
|