1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/docshell/base/nsIContentViewer.idl
3 : */
4 :
5 : #ifndef __gen_nsIContentViewer_h__
6 : #define __gen_nsIContentViewer_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : class nsIDOMDocument; /* forward declaration */
18 :
19 : class nsISHEntry; /* forward declaration */
20 :
21 : class nsIPrintSettings; /* forward declaration */
22 :
23 : class nsIWidget;
24 : class nsIDocument;
25 : struct nsIntRect;
26 : class nsIPresShell;
27 : class nsPresContext;
28 : class nsIView;
29 : class nsDOMNavigationTiming;
30 :
31 : /* starting interface: nsIContentViewer */
32 : #define NS_ICONTENTVIEWER_IID_STR "26b2380b-4a1a-46cd-b7d8-7600e41c1688"
33 :
34 : #define NS_ICONTENTVIEWER_IID \
35 : {0x26b2380b, 0x4a1a, 0x46cd, \
36 : { 0xb7, 0xd8, 0x76, 0x00, 0xe4, 0x1c, 0x16, 0x88 }}
37 :
38 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIContentViewer : public nsISupports {
39 : public:
40 :
41 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENTVIEWER_IID)
42 :
43 : /* [noscript] void init (in nsIWidgetPtr aParentWidget, [const] in nsIntRectRef aBounds); */
44 : NS_IMETHOD Init(nsIWidget *aParentWidget, const nsIntRect & aBounds) = 0;
45 :
46 : /* attribute nsISupports container; */
47 : NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) = 0;
48 : NS_SCRIPTABLE NS_IMETHOD SetContainer(nsISupports *aContainer) = 0;
49 :
50 : /* void loadStart (in nsISupports aDoc); */
51 : NS_SCRIPTABLE NS_IMETHOD LoadStart(nsISupports *aDoc) = 0;
52 :
53 : /* void loadComplete (in unsigned long aStatus); */
54 : NS_SCRIPTABLE NS_IMETHOD LoadComplete(PRUint32 aStatus) = 0;
55 :
56 : /* boolean permitUnload ([optional] in boolean aCallerClosesWindow); */
57 : NS_SCRIPTABLE NS_IMETHOD PermitUnload(bool aCallerClosesWindow, bool *_retval NS_OUTPARAM) = 0;
58 :
59 : /* void resetCloseWindow (); */
60 : NS_SCRIPTABLE NS_IMETHOD ResetCloseWindow(void) = 0;
61 :
62 : /* void pageHide (in boolean isUnload); */
63 : NS_SCRIPTABLE NS_IMETHOD PageHide(bool isUnload) = 0;
64 :
65 : /* void close (in nsISHEntry historyEntry); */
66 : NS_SCRIPTABLE NS_IMETHOD Close(nsISHEntry *historyEntry) = 0;
67 :
68 : /* void destroy (); */
69 : NS_SCRIPTABLE NS_IMETHOD Destroy(void) = 0;
70 :
71 : /* void stop (); */
72 : NS_SCRIPTABLE NS_IMETHOD Stop(void) = 0;
73 :
74 : /* attribute nsIDOMDocument DOMDocument; */
75 : NS_SCRIPTABLE NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) = 0;
76 : NS_SCRIPTABLE NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) = 0;
77 :
78 : /* [noscript,notxpcom] nsIDocumentPtr getDocument (); */
79 : NS_IMETHOD_(nsIDocument *) GetDocument(void) = 0;
80 :
81 : /* [noscript] void getBounds (in nsIntRectRef aBounds); */
82 : NS_IMETHOD GetBounds(nsIntRect & aBounds) = 0;
83 :
84 : /* [noscript] void setBounds ([const] in nsIntRectRef aBounds); */
85 : NS_IMETHOD SetBounds(const nsIntRect & aBounds) = 0;
86 :
87 : /* [noscript] attribute nsIContentViewer previousViewer; */
88 : NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) = 0;
89 : NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) = 0;
90 :
91 : /* void move (in long aX, in long aY); */
92 : NS_SCRIPTABLE NS_IMETHOD Move(PRInt32 aX, PRInt32 aY) = 0;
93 :
94 : /* void show (); */
95 : NS_SCRIPTABLE NS_IMETHOD Show(void) = 0;
96 :
97 : /* void hide (); */
98 : NS_SCRIPTABLE NS_IMETHOD Hide(void) = 0;
99 :
100 : /* attribute boolean sticky; */
101 : NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) = 0;
102 : NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) = 0;
103 :
104 : /* boolean requestWindowClose (); */
105 : NS_SCRIPTABLE NS_IMETHOD RequestWindowClose(bool *_retval NS_OUTPARAM) = 0;
106 :
107 : /* void open (in nsISupports aState, in nsISHEntry aSHEntry); */
108 : NS_SCRIPTABLE NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) = 0;
109 :
110 : /* void clearHistoryEntry (); */
111 : NS_SCRIPTABLE NS_IMETHOD ClearHistoryEntry(void) = 0;
112 :
113 : /* void setPageMode (in boolean aPageMode, in nsIPrintSettings aPrintSettings); */
114 : NS_SCRIPTABLE NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) = 0;
115 :
116 : /* readonly attribute nsISHEntry historyEntry; */
117 : NS_SCRIPTABLE NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) = 0;
118 :
119 : /* readonly attribute boolean isTabModalPromptAllowed; */
120 : NS_SCRIPTABLE NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) = 0;
121 :
122 : /* [noscript] readonly attribute nsIPresShellPtr presShell; */
123 : NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) = 0;
124 :
125 : /* [noscript] readonly attribute nsPresContextPtr presContext; */
126 : NS_IMETHOD GetPresContext(nsPresContext **aPresContext) = 0;
127 :
128 : /* [noscript] void setDocumentInternal (in nsIDocumentPtr aDocument, in boolean aForceReuseInnerWindow); */
129 : NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) = 0;
130 :
131 : /* [noscript,nostdcall,notxpcom] nsIViewPtr findContainerView (); */
132 : virtual nsIView * FindContainerView(void) = 0;
133 :
134 : /* [noscript,nostdcall,notxpcom] void setNavigationTiming (in nsDOMNavigationTimingPtr aTiming); */
135 : virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) = 0;
136 :
137 : };
138 :
139 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIContentViewer, NS_ICONTENTVIEWER_IID)
140 :
141 : /* Use this macro when declaring classes that implement this interface. */
142 : #define NS_DECL_NSICONTENTVIEWER \
143 : NS_IMETHOD Init(nsIWidget *aParentWidget, const nsIntRect & aBounds); \
144 : NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer); \
145 : NS_SCRIPTABLE NS_IMETHOD SetContainer(nsISupports *aContainer); \
146 : NS_SCRIPTABLE NS_IMETHOD LoadStart(nsISupports *aDoc); \
147 : NS_SCRIPTABLE NS_IMETHOD LoadComplete(PRUint32 aStatus); \
148 : NS_SCRIPTABLE NS_IMETHOD PermitUnload(bool aCallerClosesWindow, bool *_retval NS_OUTPARAM); \
149 : NS_SCRIPTABLE NS_IMETHOD ResetCloseWindow(void); \
150 : NS_SCRIPTABLE NS_IMETHOD PageHide(bool isUnload); \
151 : NS_SCRIPTABLE NS_IMETHOD Close(nsISHEntry *historyEntry); \
152 : NS_SCRIPTABLE NS_IMETHOD Destroy(void); \
153 : NS_SCRIPTABLE NS_IMETHOD Stop(void); \
154 : NS_SCRIPTABLE NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument); \
155 : NS_SCRIPTABLE NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument); \
156 : NS_IMETHOD_(nsIDocument *) GetDocument(void); \
157 : NS_IMETHOD GetBounds(nsIntRect & aBounds); \
158 : NS_IMETHOD SetBounds(const nsIntRect & aBounds); \
159 : NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer); \
160 : NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer); \
161 : NS_SCRIPTABLE NS_IMETHOD Move(PRInt32 aX, PRInt32 aY); \
162 : NS_SCRIPTABLE NS_IMETHOD Show(void); \
163 : NS_SCRIPTABLE NS_IMETHOD Hide(void); \
164 : NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky); \
165 : NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky); \
166 : NS_SCRIPTABLE NS_IMETHOD RequestWindowClose(bool *_retval NS_OUTPARAM); \
167 : NS_SCRIPTABLE NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry); \
168 : NS_SCRIPTABLE NS_IMETHOD ClearHistoryEntry(void); \
169 : NS_SCRIPTABLE NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings); \
170 : NS_SCRIPTABLE NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry); \
171 : NS_SCRIPTABLE NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed); \
172 : NS_IMETHOD GetPresShell(nsIPresShell **aPresShell); \
173 : NS_IMETHOD GetPresContext(nsPresContext **aPresContext); \
174 : NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow); \
175 : virtual nsIView * FindContainerView(void); \
176 : virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming);
177 :
178 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
179 : #define NS_FORWARD_NSICONTENTVIEWER(_to) \
180 : NS_IMETHOD Init(nsIWidget *aParentWidget, const nsIntRect & aBounds) { return _to Init(aParentWidget, aBounds); } \
181 : NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) { return _to GetContainer(aContainer); } \
182 : NS_SCRIPTABLE NS_IMETHOD SetContainer(nsISupports *aContainer) { return _to SetContainer(aContainer); } \
183 : NS_SCRIPTABLE NS_IMETHOD LoadStart(nsISupports *aDoc) { return _to LoadStart(aDoc); } \
184 : NS_SCRIPTABLE NS_IMETHOD LoadComplete(PRUint32 aStatus) { return _to LoadComplete(aStatus); } \
185 : NS_SCRIPTABLE NS_IMETHOD PermitUnload(bool aCallerClosesWindow, bool *_retval NS_OUTPARAM) { return _to PermitUnload(aCallerClosesWindow, _retval); } \
186 : NS_SCRIPTABLE NS_IMETHOD ResetCloseWindow(void) { return _to ResetCloseWindow(); } \
187 : NS_SCRIPTABLE NS_IMETHOD PageHide(bool isUnload) { return _to PageHide(isUnload); } \
188 : NS_SCRIPTABLE NS_IMETHOD Close(nsISHEntry *historyEntry) { return _to Close(historyEntry); } \
189 : NS_SCRIPTABLE NS_IMETHOD Destroy(void) { return _to Destroy(); } \
190 : NS_SCRIPTABLE NS_IMETHOD Stop(void) { return _to Stop(); } \
191 : NS_SCRIPTABLE NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) { return _to GetDOMDocument(aDOMDocument); } \
192 : NS_SCRIPTABLE NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) { return _to SetDOMDocument(aDOMDocument); } \
193 : NS_IMETHOD_(nsIDocument *) GetDocument(void) { return _to GetDocument(); } \
194 : NS_IMETHOD GetBounds(nsIntRect & aBounds) { return _to GetBounds(aBounds); } \
195 : NS_IMETHOD SetBounds(const nsIntRect & aBounds) { return _to SetBounds(aBounds); } \
196 : NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) { return _to GetPreviousViewer(aPreviousViewer); } \
197 : NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) { return _to SetPreviousViewer(aPreviousViewer); } \
198 : NS_SCRIPTABLE NS_IMETHOD Move(PRInt32 aX, PRInt32 aY) { return _to Move(aX, aY); } \
199 : NS_SCRIPTABLE NS_IMETHOD Show(void) { return _to Show(); } \
200 : NS_SCRIPTABLE NS_IMETHOD Hide(void) { return _to Hide(); } \
201 : NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) { return _to GetSticky(aSticky); } \
202 : NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) { return _to SetSticky(aSticky); } \
203 : NS_SCRIPTABLE NS_IMETHOD RequestWindowClose(bool *_retval NS_OUTPARAM) { return _to RequestWindowClose(_retval); } \
204 : NS_SCRIPTABLE NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) { return _to Open(aState, aSHEntry); } \
205 : NS_SCRIPTABLE NS_IMETHOD ClearHistoryEntry(void) { return _to ClearHistoryEntry(); } \
206 : NS_SCRIPTABLE NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) { return _to SetPageMode(aPageMode, aPrintSettings); } \
207 : NS_SCRIPTABLE NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) { return _to GetHistoryEntry(aHistoryEntry); } \
208 : NS_SCRIPTABLE NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) { return _to GetIsTabModalPromptAllowed(aIsTabModalPromptAllowed); } \
209 : NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) { return _to GetPresShell(aPresShell); } \
210 : NS_IMETHOD GetPresContext(nsPresContext **aPresContext) { return _to GetPresContext(aPresContext); } \
211 : NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) { return _to SetDocumentInternal(aDocument, aForceReuseInnerWindow); } \
212 : virtual nsIView * FindContainerView(void) { return _to FindContainerView(); } \
213 : virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) { return _to SetNavigationTiming(aTiming); }
214 :
215 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
216 : #define NS_FORWARD_SAFE_NSICONTENTVIEWER(_to) \
217 : NS_IMETHOD Init(nsIWidget *aParentWidget, const nsIntRect & aBounds) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aParentWidget, aBounds); } \
218 : NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainer(aContainer); } \
219 : NS_SCRIPTABLE NS_IMETHOD SetContainer(nsISupports *aContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContainer(aContainer); } \
220 : NS_SCRIPTABLE NS_IMETHOD LoadStart(nsISupports *aDoc) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadStart(aDoc); } \
221 : NS_SCRIPTABLE NS_IMETHOD LoadComplete(PRUint32 aStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadComplete(aStatus); } \
222 : NS_SCRIPTABLE NS_IMETHOD PermitUnload(bool aCallerClosesWindow, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PermitUnload(aCallerClosesWindow, _retval); } \
223 : NS_SCRIPTABLE NS_IMETHOD ResetCloseWindow(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetCloseWindow(); } \
224 : NS_SCRIPTABLE NS_IMETHOD PageHide(bool isUnload) { return !_to ? NS_ERROR_NULL_POINTER : _to->PageHide(isUnload); } \
225 : NS_SCRIPTABLE NS_IMETHOD Close(nsISHEntry *historyEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(historyEntry); } \
226 : NS_SCRIPTABLE NS_IMETHOD Destroy(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Destroy(); } \
227 : NS_SCRIPTABLE NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
228 : NS_SCRIPTABLE NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMDocument(aDOMDocument); } \
229 : NS_SCRIPTABLE NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDOMDocument(aDOMDocument); } \
230 : NS_IMETHOD_(nsIDocument *) GetDocument(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocument(); } \
231 : NS_IMETHOD GetBounds(nsIntRect & aBounds) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBounds(aBounds); } \
232 : NS_IMETHOD SetBounds(const nsIntRect & aBounds) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBounds(aBounds); } \
233 : NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreviousViewer(aPreviousViewer); } \
234 : NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPreviousViewer(aPreviousViewer); } \
235 : NS_SCRIPTABLE NS_IMETHOD Move(PRInt32 aX, PRInt32 aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->Move(aX, aY); } \
236 : NS_SCRIPTABLE NS_IMETHOD Show(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Show(); } \
237 : NS_SCRIPTABLE NS_IMETHOD Hide(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Hide(); } \
238 : NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSticky(aSticky); } \
239 : NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSticky(aSticky); } \
240 : NS_SCRIPTABLE NS_IMETHOD RequestWindowClose(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RequestWindowClose(_retval); } \
241 : NS_SCRIPTABLE NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aState, aSHEntry); } \
242 : NS_SCRIPTABLE NS_IMETHOD ClearHistoryEntry(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearHistoryEntry(); } \
243 : NS_SCRIPTABLE NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPageMode(aPageMode, aPrintSettings); } \
244 : NS_SCRIPTABLE NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHistoryEntry(aHistoryEntry); } \
245 : NS_SCRIPTABLE NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsTabModalPromptAllowed(aIsTabModalPromptAllowed); } \
246 : NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresShell(aPresShell); } \
247 : NS_IMETHOD GetPresContext(nsPresContext **aPresContext) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresContext(aPresContext); } \
248 : NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocumentInternal(aDocument, aForceReuseInnerWindow); } \
249 : virtual nsIView * FindContainerView(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindContainerView(); } \
250 : virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNavigationTiming(aTiming); }
251 :
252 : #if 0
253 : /* Use the code below as a template for the implementation class for this interface. */
254 :
255 : /* Header file */
256 : class nsContentViewer : public nsIContentViewer
257 : {
258 : public:
259 : NS_DECL_ISUPPORTS
260 : NS_DECL_NSICONTENTVIEWER
261 :
262 : nsContentViewer();
263 :
264 : private:
265 : ~nsContentViewer();
266 :
267 : protected:
268 : /* additional members */
269 : };
270 :
271 : /* Implementation file */
272 : NS_IMPL_ISUPPORTS1(nsContentViewer, nsIContentViewer)
273 :
274 : nsContentViewer::nsContentViewer()
275 : {
276 : /* member initializers and constructor code */
277 : }
278 :
279 : nsContentViewer::~nsContentViewer()
280 : {
281 : /* destructor code */
282 : }
283 :
284 : /* [noscript] void init (in nsIWidgetPtr aParentWidget, [const] in nsIntRectRef aBounds); */
285 : NS_IMETHODIMP nsContentViewer::Init(nsIWidget *aParentWidget, const nsIntRect & aBounds)
286 : {
287 : return NS_ERROR_NOT_IMPLEMENTED;
288 : }
289 :
290 : /* attribute nsISupports container; */
291 : NS_IMETHODIMP nsContentViewer::GetContainer(nsISupports * *aContainer)
292 : {
293 : return NS_ERROR_NOT_IMPLEMENTED;
294 : }
295 : NS_IMETHODIMP nsContentViewer::SetContainer(nsISupports *aContainer)
296 : {
297 : return NS_ERROR_NOT_IMPLEMENTED;
298 : }
299 :
300 : /* void loadStart (in nsISupports aDoc); */
301 : NS_IMETHODIMP nsContentViewer::LoadStart(nsISupports *aDoc)
302 : {
303 : return NS_ERROR_NOT_IMPLEMENTED;
304 : }
305 :
306 : /* void loadComplete (in unsigned long aStatus); */
307 : NS_IMETHODIMP nsContentViewer::LoadComplete(PRUint32 aStatus)
308 : {
309 : return NS_ERROR_NOT_IMPLEMENTED;
310 : }
311 :
312 : /* boolean permitUnload ([optional] in boolean aCallerClosesWindow); */
313 : NS_IMETHODIMP nsContentViewer::PermitUnload(bool aCallerClosesWindow, bool *_retval NS_OUTPARAM)
314 : {
315 : return NS_ERROR_NOT_IMPLEMENTED;
316 : }
317 :
318 : /* void resetCloseWindow (); */
319 : NS_IMETHODIMP nsContentViewer::ResetCloseWindow()
320 : {
321 : return NS_ERROR_NOT_IMPLEMENTED;
322 : }
323 :
324 : /* void pageHide (in boolean isUnload); */
325 : NS_IMETHODIMP nsContentViewer::PageHide(bool isUnload)
326 : {
327 : return NS_ERROR_NOT_IMPLEMENTED;
328 : }
329 :
330 : /* void close (in nsISHEntry historyEntry); */
331 : NS_IMETHODIMP nsContentViewer::Close(nsISHEntry *historyEntry)
332 : {
333 : return NS_ERROR_NOT_IMPLEMENTED;
334 : }
335 :
336 : /* void destroy (); */
337 : NS_IMETHODIMP nsContentViewer::Destroy()
338 : {
339 : return NS_ERROR_NOT_IMPLEMENTED;
340 : }
341 :
342 : /* void stop (); */
343 : NS_IMETHODIMP nsContentViewer::Stop()
344 : {
345 : return NS_ERROR_NOT_IMPLEMENTED;
346 : }
347 :
348 : /* attribute nsIDOMDocument DOMDocument; */
349 : NS_IMETHODIMP nsContentViewer::GetDOMDocument(nsIDOMDocument * *aDOMDocument)
350 : {
351 : return NS_ERROR_NOT_IMPLEMENTED;
352 : }
353 : NS_IMETHODIMP nsContentViewer::SetDOMDocument(nsIDOMDocument *aDOMDocument)
354 : {
355 : return NS_ERROR_NOT_IMPLEMENTED;
356 : }
357 :
358 : /* [noscript,notxpcom] nsIDocumentPtr getDocument (); */
359 : NS_IMETHODIMP_(nsIDocument *) nsContentViewer::GetDocument()
360 : {
361 : return NS_ERROR_NOT_IMPLEMENTED;
362 : }
363 :
364 : /* [noscript] void getBounds (in nsIntRectRef aBounds); */
365 : NS_IMETHODIMP nsContentViewer::GetBounds(nsIntRect & aBounds)
366 : {
367 : return NS_ERROR_NOT_IMPLEMENTED;
368 : }
369 :
370 : /* [noscript] void setBounds ([const] in nsIntRectRef aBounds); */
371 : NS_IMETHODIMP nsContentViewer::SetBounds(const nsIntRect & aBounds)
372 : {
373 : return NS_ERROR_NOT_IMPLEMENTED;
374 : }
375 :
376 : /* [noscript] attribute nsIContentViewer previousViewer; */
377 : NS_IMETHODIMP nsContentViewer::GetPreviousViewer(nsIContentViewer * *aPreviousViewer)
378 : {
379 : return NS_ERROR_NOT_IMPLEMENTED;
380 : }
381 : NS_IMETHODIMP nsContentViewer::SetPreviousViewer(nsIContentViewer *aPreviousViewer)
382 : {
383 : return NS_ERROR_NOT_IMPLEMENTED;
384 : }
385 :
386 : /* void move (in long aX, in long aY); */
387 : NS_IMETHODIMP nsContentViewer::Move(PRInt32 aX, PRInt32 aY)
388 : {
389 : return NS_ERROR_NOT_IMPLEMENTED;
390 : }
391 :
392 : /* void show (); */
393 : NS_IMETHODIMP nsContentViewer::Show()
394 : {
395 : return NS_ERROR_NOT_IMPLEMENTED;
396 : }
397 :
398 : /* void hide (); */
399 : NS_IMETHODIMP nsContentViewer::Hide()
400 : {
401 : return NS_ERROR_NOT_IMPLEMENTED;
402 : }
403 :
404 : /* attribute boolean sticky; */
405 : NS_IMETHODIMP nsContentViewer::GetSticky(bool *aSticky)
406 : {
407 : return NS_ERROR_NOT_IMPLEMENTED;
408 : }
409 : NS_IMETHODIMP nsContentViewer::SetSticky(bool aSticky)
410 : {
411 : return NS_ERROR_NOT_IMPLEMENTED;
412 : }
413 :
414 : /* boolean requestWindowClose (); */
415 : NS_IMETHODIMP nsContentViewer::RequestWindowClose(bool *_retval NS_OUTPARAM)
416 : {
417 : return NS_ERROR_NOT_IMPLEMENTED;
418 : }
419 :
420 : /* void open (in nsISupports aState, in nsISHEntry aSHEntry); */
421 : NS_IMETHODIMP nsContentViewer::Open(nsISupports *aState, nsISHEntry *aSHEntry)
422 : {
423 : return NS_ERROR_NOT_IMPLEMENTED;
424 : }
425 :
426 : /* void clearHistoryEntry (); */
427 : NS_IMETHODIMP nsContentViewer::ClearHistoryEntry()
428 : {
429 : return NS_ERROR_NOT_IMPLEMENTED;
430 : }
431 :
432 : /* void setPageMode (in boolean aPageMode, in nsIPrintSettings aPrintSettings); */
433 : NS_IMETHODIMP nsContentViewer::SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings)
434 : {
435 : return NS_ERROR_NOT_IMPLEMENTED;
436 : }
437 :
438 : /* readonly attribute nsISHEntry historyEntry; */
439 : NS_IMETHODIMP nsContentViewer::GetHistoryEntry(nsISHEntry * *aHistoryEntry)
440 : {
441 : return NS_ERROR_NOT_IMPLEMENTED;
442 : }
443 :
444 : /* readonly attribute boolean isTabModalPromptAllowed; */
445 : NS_IMETHODIMP nsContentViewer::GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed)
446 : {
447 : return NS_ERROR_NOT_IMPLEMENTED;
448 : }
449 :
450 : /* [noscript] readonly attribute nsIPresShellPtr presShell; */
451 : NS_IMETHODIMP nsContentViewer::GetPresShell(nsIPresShell **aPresShell)
452 : {
453 : return NS_ERROR_NOT_IMPLEMENTED;
454 : }
455 :
456 : /* [noscript] readonly attribute nsPresContextPtr presContext; */
457 : NS_IMETHODIMP nsContentViewer::GetPresContext(nsPresContext **aPresContext)
458 : {
459 : return NS_ERROR_NOT_IMPLEMENTED;
460 : }
461 :
462 : /* [noscript] void setDocumentInternal (in nsIDocumentPtr aDocument, in boolean aForceReuseInnerWindow); */
463 : NS_IMETHODIMP nsContentViewer::SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow)
464 : {
465 : return NS_ERROR_NOT_IMPLEMENTED;
466 : }
467 :
468 : /* [noscript,nostdcall,notxpcom] nsIViewPtr findContainerView (); */
469 : nsIView * nsContentViewer::FindContainerView()
470 : {
471 : return NS_ERROR_NOT_IMPLEMENTED;
472 : }
473 :
474 : /* [noscript,nostdcall,notxpcom] void setNavigationTiming (in nsDOMNavigationTimingPtr aTiming); */
475 : void nsContentViewer::SetNavigationTiming(nsDOMNavigationTiming *aTiming)
476 : {
477 : return NS_ERROR_NOT_IMPLEMENTED;
478 : }
479 :
480 : /* End of implementation class template. */
481 : #endif
482 :
483 :
484 : #endif /* __gen_nsIContentViewer_h__ */
|