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