/usr/include/thunderbird/nsIContentViewer.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 nsIDocShell; /* forward declaration */
class nsIDocument; /* forward declaration */
class nsIDOMDocument; /* forward declaration */
class nsIDOMNode; /* forward declaration */
class nsISHEntry; /* forward declaration */
class nsIPrintSettings; /* forward declaration */
#include "nsTArray.h"
#include "nsRect.h"
class nsIWidget;
class nsIPresShell;
class nsPresContext;
class nsView;
class nsDOMNavigationTiming;
/* starting interface: nsIContentViewer */
#define NS_ICONTENTVIEWER_IID_STR "2da17016-7851-4a45-a7a8-00b360e01595"
#define NS_ICONTENTVIEWER_IID \
{0x2da17016, 0x7851, 0x4a45, \
{ 0xa7, 0xa8, 0x00, 0xb3, 0x60, 0xe0, 0x15, 0x95 }}
class NS_NO_VTABLE 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 nsIDocShell container; */
NS_IMETHOD GetContainer(nsIDocShell * *aContainer) = 0;
NS_IMETHOD SetContainer(nsIDocShell *aContainer) = 0;
/* [noscript,nostdcall,notxpcom] void loadStart (in nsIDocument aDoc); */
virtual void LoadStart(nsIDocument *aDoc) = 0;
/* void loadComplete (in nsresult aStatus); */
NS_IMETHOD LoadComplete(nsresult aStatus) = 0;
/* [noscript] readonly attribute boolean loadCompleted; */
NS_IMETHOD GetLoadCompleted(bool *aLoadCompleted) = 0;
/* boolean permitUnload (); */
NS_IMETHOD PermitUnload(bool *_retval) = 0;
/* readonly attribute boolean inPermitUnload; */
NS_IMETHOD GetInPermitUnload(bool *aInPermitUnload) = 0;
/* [noscript,nostdcall] boolean permitUnloadInternal (inout boolean aShouldPrompt); */
virtual nsresult PermitUnloadInternal(bool *aShouldPrompt, bool *_retval) = 0;
/* readonly attribute boolean beforeUnloadFiring; */
NS_IMETHOD GetBeforeUnloadFiring(bool *aBeforeUnloadFiring) = 0;
/* void pageHide (in boolean isUnload); */
NS_IMETHOD PageHide(bool isUnload) = 0;
/* void close (in nsISHEntry historyEntry); */
NS_IMETHOD Close(nsISHEntry *historyEntry) = 0;
/* void destroy (); */
NS_IMETHOD Destroy(void) = 0;
/* void stop (); */
NS_IMETHOD Stop(void) = 0;
/* attribute nsIDOMDocument DOMDocument; */
NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) = 0;
NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) = 0;
/* [noscript,notxpcom] nsIDocument 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;
enum {
eDelayResize = 1U
};
/* [noscript] void setBoundsWithFlags ([const] in nsIntRectRef aBounds, in unsigned long aFlags); */
NS_IMETHOD SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags) = 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_IMETHOD Move(int32_t aX, int32_t aY) = 0;
/* void show (); */
NS_IMETHOD Show(void) = 0;
/* void hide (); */
NS_IMETHOD Hide(void) = 0;
/* attribute boolean sticky; */
NS_IMETHOD GetSticky(bool *aSticky) = 0;
NS_IMETHOD SetSticky(bool aSticky) = 0;
/* boolean requestWindowClose (); */
NS_IMETHOD RequestWindowClose(bool *_retval) = 0;
/* void open (in nsISupports aState, in nsISHEntry aSHEntry); */
NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) = 0;
/* void clearHistoryEntry (); */
NS_IMETHOD ClearHistoryEntry(void) = 0;
/* void setPageMode (in boolean aPageMode, in nsIPrintSettings aPrintSettings); */
NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) = 0;
/* readonly attribute nsISHEntry historyEntry; */
NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) = 0;
/* readonly attribute boolean isTabModalPromptAllowed; */
NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) = 0;
/* attribute boolean isHidden; */
NS_IMETHOD GetIsHidden(bool *aIsHidden) = 0;
NS_IMETHOD SetIsHidden(bool aIsHidden) = 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 nsIDocument aDocument, in boolean aForceReuseInnerWindow); */
NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) = 0;
/* [noscript,nostdcall,notxpcom] nsViewPtr findContainerView (); */
virtual nsView * FindContainerView(void) = 0;
/* [noscript,nostdcall,notxpcom] void setNavigationTiming (in nsDOMNavigationTimingPtr aTiming); */
virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) = 0;
/* void scrollToNode (in nsIDOMNode node); */
NS_IMETHOD ScrollToNode(nsIDOMNode *node) = 0;
/* attribute float textZoom; */
NS_IMETHOD GetTextZoom(float *aTextZoom) = 0;
NS_IMETHOD SetTextZoom(float aTextZoom) = 0;
/* attribute float fullZoom; */
NS_IMETHOD GetFullZoom(float *aFullZoom) = 0;
NS_IMETHOD SetFullZoom(float aFullZoom) = 0;
/* attribute float overrideDPPX; */
NS_IMETHOD GetOverrideDPPX(float *aOverrideDPPX) = 0;
NS_IMETHOD SetOverrideDPPX(float aOverrideDPPX) = 0;
/* attribute boolean authorStyleDisabled; */
NS_IMETHOD GetAuthorStyleDisabled(bool *aAuthorStyleDisabled) = 0;
NS_IMETHOD SetAuthorStyleDisabled(bool aAuthorStyleDisabled) = 0;
/* attribute ACString forceCharacterSet; */
NS_IMETHOD GetForceCharacterSet(nsACString & aForceCharacterSet) = 0;
NS_IMETHOD SetForceCharacterSet(const nsACString & aForceCharacterSet) = 0;
/* attribute ACString hintCharacterSet; */
NS_IMETHOD GetHintCharacterSet(nsACString & aHintCharacterSet) = 0;
NS_IMETHOD SetHintCharacterSet(const nsACString & aHintCharacterSet) = 0;
/* attribute int32_t hintCharacterSetSource; */
NS_IMETHOD GetHintCharacterSetSource(int32_t *aHintCharacterSetSource) = 0;
NS_IMETHOD SetHintCharacterSetSource(int32_t aHintCharacterSetSource) = 0;
/* void getContentSize (out long width, out long height); */
NS_IMETHOD GetContentSize(int32_t *width, int32_t *height) = 0;
/* void getContentSizeConstrained (in long maxWidth, in long maxHeight, out long width, out long height); */
NS_IMETHOD GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height) = 0;
/* attribute long minFontSize; */
NS_IMETHOD GetMinFontSize(int32_t *aMinFontSize) = 0;
NS_IMETHOD SetMinFontSize(int32_t aMinFontSize) = 0;
/* [noscript] void appendSubtree (in nsIContentViewerTArray array); */
NS_IMETHOD AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array) = 0;
/* void pausePainting (); */
NS_IMETHOD PausePainting(void) = 0;
/* void resumePainting (); */
NS_IMETHOD ResumePainting(void) = 0;
/* void emulateMedium (in AString aMediaType); */
NS_IMETHOD EmulateMedium(const nsAString & aMediaType) = 0;
/* void stopEmulatingMedium (); */
NS_IMETHOD StopEmulatingMedium(void) = 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) override; \
NS_IMETHOD GetContainer(nsIDocShell * *aContainer) override; \
NS_IMETHOD SetContainer(nsIDocShell *aContainer) override; \
virtual void LoadStart(nsIDocument *aDoc) override; \
NS_IMETHOD LoadComplete(nsresult aStatus) override; \
NS_IMETHOD GetLoadCompleted(bool *aLoadCompleted) override; \
NS_IMETHOD PermitUnload(bool *_retval) override; \
NS_IMETHOD GetInPermitUnload(bool *aInPermitUnload) override; \
virtual nsresult PermitUnloadInternal(bool *aShouldPrompt, bool *_retval) override; \
NS_IMETHOD GetBeforeUnloadFiring(bool *aBeforeUnloadFiring) override; \
NS_IMETHOD PageHide(bool isUnload) override; \
NS_IMETHOD Close(nsISHEntry *historyEntry) override; \
NS_IMETHOD Destroy(void) override; \
NS_IMETHOD Stop(void) override; \
NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override; \
NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) override; \
NS_IMETHOD_(nsIDocument *) GetDocument(void) override; \
NS_IMETHOD GetBounds(nsIntRect & aBounds) override; \
NS_IMETHOD SetBounds(const nsIntRect & aBounds) override; \
NS_IMETHOD SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags) override; \
NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) override; \
NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) override; \
NS_IMETHOD Move(int32_t aX, int32_t aY) override; \
NS_IMETHOD Show(void) override; \
NS_IMETHOD Hide(void) override; \
NS_IMETHOD GetSticky(bool *aSticky) override; \
NS_IMETHOD SetSticky(bool aSticky) override; \
NS_IMETHOD RequestWindowClose(bool *_retval) override; \
NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) override; \
NS_IMETHOD ClearHistoryEntry(void) override; \
NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) override; \
NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) override; \
NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) override; \
NS_IMETHOD GetIsHidden(bool *aIsHidden) override; \
NS_IMETHOD SetIsHidden(bool aIsHidden) override; \
NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) override; \
NS_IMETHOD GetPresContext(nsPresContext **aPresContext) override; \
NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) override; \
virtual nsView * FindContainerView(void) override; \
virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) override; \
NS_IMETHOD ScrollToNode(nsIDOMNode *node) override; \
NS_IMETHOD GetTextZoom(float *aTextZoom) override; \
NS_IMETHOD SetTextZoom(float aTextZoom) override; \
NS_IMETHOD GetFullZoom(float *aFullZoom) override; \
NS_IMETHOD SetFullZoom(float aFullZoom) override; \
NS_IMETHOD GetOverrideDPPX(float *aOverrideDPPX) override; \
NS_IMETHOD SetOverrideDPPX(float aOverrideDPPX) override; \
NS_IMETHOD GetAuthorStyleDisabled(bool *aAuthorStyleDisabled) override; \
NS_IMETHOD SetAuthorStyleDisabled(bool aAuthorStyleDisabled) override; \
NS_IMETHOD GetForceCharacterSet(nsACString & aForceCharacterSet) override; \
NS_IMETHOD SetForceCharacterSet(const nsACString & aForceCharacterSet) override; \
NS_IMETHOD GetHintCharacterSet(nsACString & aHintCharacterSet) override; \
NS_IMETHOD SetHintCharacterSet(const nsACString & aHintCharacterSet) override; \
NS_IMETHOD GetHintCharacterSetSource(int32_t *aHintCharacterSetSource) override; \
NS_IMETHOD SetHintCharacterSetSource(int32_t aHintCharacterSetSource) override; \
NS_IMETHOD GetContentSize(int32_t *width, int32_t *height) override; \
NS_IMETHOD GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height) override; \
NS_IMETHOD GetMinFontSize(int32_t *aMinFontSize) override; \
NS_IMETHOD SetMinFontSize(int32_t aMinFontSize) override; \
NS_IMETHOD AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array) override; \
NS_IMETHOD PausePainting(void) override; \
NS_IMETHOD ResumePainting(void) override; \
NS_IMETHOD EmulateMedium(const nsAString & aMediaType) override; \
NS_IMETHOD StopEmulatingMedium(void) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSICONTENTVIEWER \
NS_METHOD Init(nsIWidget *aParentWidget, const nsIntRect & aBounds); \
NS_METHOD GetContainer(nsIDocShell * *aContainer); \
NS_METHOD SetContainer(nsIDocShell *aContainer); \
void LoadStart(nsIDocument *aDoc); \
NS_METHOD LoadComplete(nsresult aStatus); \
NS_METHOD GetLoadCompleted(bool *aLoadCompleted); \
NS_METHOD PermitUnload(bool *_retval); \
NS_METHOD GetInPermitUnload(bool *aInPermitUnload); \
nsresult PermitUnloadInternal(bool *aShouldPrompt, bool *_retval); \
NS_METHOD GetBeforeUnloadFiring(bool *aBeforeUnloadFiring); \
NS_METHOD PageHide(bool isUnload); \
NS_METHOD Close(nsISHEntry *historyEntry); \
NS_METHOD Destroy(void); \
NS_METHOD Stop(void); \
NS_METHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument); \
NS_METHOD SetDOMDocument(nsIDOMDocument *aDOMDocument); \
NS_METHOD_(nsIDocument *) GetDocument(void); \
NS_METHOD GetBounds(nsIntRect & aBounds); \
NS_METHOD SetBounds(const nsIntRect & aBounds); \
NS_METHOD SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags); \
NS_METHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer); \
NS_METHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer); \
NS_METHOD Move(int32_t aX, int32_t aY); \
NS_METHOD Show(void); \
NS_METHOD Hide(void); \
NS_METHOD GetSticky(bool *aSticky); \
NS_METHOD SetSticky(bool aSticky); \
NS_METHOD RequestWindowClose(bool *_retval); \
NS_METHOD Open(nsISupports *aState, nsISHEntry *aSHEntry); \
NS_METHOD ClearHistoryEntry(void); \
NS_METHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings); \
NS_METHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry); \
NS_METHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed); \
NS_METHOD GetIsHidden(bool *aIsHidden); \
NS_METHOD SetIsHidden(bool aIsHidden); \
NS_METHOD GetPresShell(nsIPresShell **aPresShell); \
NS_METHOD GetPresContext(nsPresContext **aPresContext); \
NS_METHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow); \
nsView * FindContainerView(void); \
void SetNavigationTiming(nsDOMNavigationTiming *aTiming); \
NS_METHOD ScrollToNode(nsIDOMNode *node); \
NS_METHOD GetTextZoom(float *aTextZoom); \
NS_METHOD SetTextZoom(float aTextZoom); \
NS_METHOD GetFullZoom(float *aFullZoom); \
NS_METHOD SetFullZoom(float aFullZoom); \
NS_METHOD GetOverrideDPPX(float *aOverrideDPPX); \
NS_METHOD SetOverrideDPPX(float aOverrideDPPX); \
NS_METHOD GetAuthorStyleDisabled(bool *aAuthorStyleDisabled); \
NS_METHOD SetAuthorStyleDisabled(bool aAuthorStyleDisabled); \
NS_METHOD GetForceCharacterSet(nsACString & aForceCharacterSet); \
NS_METHOD SetForceCharacterSet(const nsACString & aForceCharacterSet); \
NS_METHOD GetHintCharacterSet(nsACString & aHintCharacterSet); \
NS_METHOD SetHintCharacterSet(const nsACString & aHintCharacterSet); \
NS_METHOD GetHintCharacterSetSource(int32_t *aHintCharacterSetSource); \
NS_METHOD SetHintCharacterSetSource(int32_t aHintCharacterSetSource); \
NS_METHOD GetContentSize(int32_t *width, int32_t *height); \
NS_METHOD GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height); \
NS_METHOD GetMinFontSize(int32_t *aMinFontSize); \
NS_METHOD SetMinFontSize(int32_t aMinFontSize); \
NS_METHOD AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array); \
NS_METHOD PausePainting(void); \
NS_METHOD ResumePainting(void); \
NS_METHOD EmulateMedium(const nsAString & aMediaType); \
NS_METHOD StopEmulatingMedium(void);
/* 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) override { return _to Init(aParentWidget, aBounds); } \
NS_IMETHOD GetContainer(nsIDocShell * *aContainer) override { return _to GetContainer(aContainer); } \
NS_IMETHOD SetContainer(nsIDocShell *aContainer) override { return _to SetContainer(aContainer); } \
virtual void LoadStart(nsIDocument *aDoc) override { return _to LoadStart(aDoc); } \
NS_IMETHOD LoadComplete(nsresult aStatus) override { return _to LoadComplete(aStatus); } \
NS_IMETHOD GetLoadCompleted(bool *aLoadCompleted) override { return _to GetLoadCompleted(aLoadCompleted); } \
NS_IMETHOD PermitUnload(bool *_retval) override { return _to PermitUnload(_retval); } \
NS_IMETHOD GetInPermitUnload(bool *aInPermitUnload) override { return _to GetInPermitUnload(aInPermitUnload); } \
virtual nsresult PermitUnloadInternal(bool *aShouldPrompt, bool *_retval) override { return _to PermitUnloadInternal(aShouldPrompt, _retval); } \
NS_IMETHOD GetBeforeUnloadFiring(bool *aBeforeUnloadFiring) override { return _to GetBeforeUnloadFiring(aBeforeUnloadFiring); } \
NS_IMETHOD PageHide(bool isUnload) override { return _to PageHide(isUnload); } \
NS_IMETHOD Close(nsISHEntry *historyEntry) override { return _to Close(historyEntry); } \
NS_IMETHOD Destroy(void) override { return _to Destroy(); } \
NS_IMETHOD Stop(void) override { return _to Stop(); } \
NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override { return _to GetDOMDocument(aDOMDocument); } \
NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) override { return _to SetDOMDocument(aDOMDocument); } \
NS_IMETHOD_(nsIDocument *) GetDocument(void) override { return _to GetDocument(); } \
NS_IMETHOD GetBounds(nsIntRect & aBounds) override { return _to GetBounds(aBounds); } \
NS_IMETHOD SetBounds(const nsIntRect & aBounds) override { return _to SetBounds(aBounds); } \
NS_IMETHOD SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags) override { return _to SetBoundsWithFlags(aBounds, aFlags); } \
NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) override { return _to GetPreviousViewer(aPreviousViewer); } \
NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) override { return _to SetPreviousViewer(aPreviousViewer); } \
NS_IMETHOD Move(int32_t aX, int32_t aY) override { return _to Move(aX, aY); } \
NS_IMETHOD Show(void) override { return _to Show(); } \
NS_IMETHOD Hide(void) override { return _to Hide(); } \
NS_IMETHOD GetSticky(bool *aSticky) override { return _to GetSticky(aSticky); } \
NS_IMETHOD SetSticky(bool aSticky) override { return _to SetSticky(aSticky); } \
NS_IMETHOD RequestWindowClose(bool *_retval) override { return _to RequestWindowClose(_retval); } \
NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) override { return _to Open(aState, aSHEntry); } \
NS_IMETHOD ClearHistoryEntry(void) override { return _to ClearHistoryEntry(); } \
NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) override { return _to SetPageMode(aPageMode, aPrintSettings); } \
NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) override { return _to GetHistoryEntry(aHistoryEntry); } \
NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) override { return _to GetIsTabModalPromptAllowed(aIsTabModalPromptAllowed); } \
NS_IMETHOD GetIsHidden(bool *aIsHidden) override { return _to GetIsHidden(aIsHidden); } \
NS_IMETHOD SetIsHidden(bool aIsHidden) override { return _to SetIsHidden(aIsHidden); } \
NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) override { return _to GetPresShell(aPresShell); } \
NS_IMETHOD GetPresContext(nsPresContext **aPresContext) override { return _to GetPresContext(aPresContext); } \
NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) override { return _to SetDocumentInternal(aDocument, aForceReuseInnerWindow); } \
virtual nsView * FindContainerView(void) override { return _to FindContainerView(); } \
virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) override { return _to SetNavigationTiming(aTiming); } \
NS_IMETHOD ScrollToNode(nsIDOMNode *node) override { return _to ScrollToNode(node); } \
NS_IMETHOD GetTextZoom(float *aTextZoom) override { return _to GetTextZoom(aTextZoom); } \
NS_IMETHOD SetTextZoom(float aTextZoom) override { return _to SetTextZoom(aTextZoom); } \
NS_IMETHOD GetFullZoom(float *aFullZoom) override { return _to GetFullZoom(aFullZoom); } \
NS_IMETHOD SetFullZoom(float aFullZoom) override { return _to SetFullZoom(aFullZoom); } \
NS_IMETHOD GetOverrideDPPX(float *aOverrideDPPX) override { return _to GetOverrideDPPX(aOverrideDPPX); } \
NS_IMETHOD SetOverrideDPPX(float aOverrideDPPX) override { return _to SetOverrideDPPX(aOverrideDPPX); } \
NS_IMETHOD GetAuthorStyleDisabled(bool *aAuthorStyleDisabled) override { return _to GetAuthorStyleDisabled(aAuthorStyleDisabled); } \
NS_IMETHOD SetAuthorStyleDisabled(bool aAuthorStyleDisabled) override { return _to SetAuthorStyleDisabled(aAuthorStyleDisabled); } \
NS_IMETHOD GetForceCharacterSet(nsACString & aForceCharacterSet) override { return _to GetForceCharacterSet(aForceCharacterSet); } \
NS_IMETHOD SetForceCharacterSet(const nsACString & aForceCharacterSet) override { return _to SetForceCharacterSet(aForceCharacterSet); } \
NS_IMETHOD GetHintCharacterSet(nsACString & aHintCharacterSet) override { return _to GetHintCharacterSet(aHintCharacterSet); } \
NS_IMETHOD SetHintCharacterSet(const nsACString & aHintCharacterSet) override { return _to SetHintCharacterSet(aHintCharacterSet); } \
NS_IMETHOD GetHintCharacterSetSource(int32_t *aHintCharacterSetSource) override { return _to GetHintCharacterSetSource(aHintCharacterSetSource); } \
NS_IMETHOD SetHintCharacterSetSource(int32_t aHintCharacterSetSource) override { return _to SetHintCharacterSetSource(aHintCharacterSetSource); } \
NS_IMETHOD GetContentSize(int32_t *width, int32_t *height) override { return _to GetContentSize(width, height); } \
NS_IMETHOD GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height) override { return _to GetContentSizeConstrained(maxWidth, maxHeight, width, height); } \
NS_IMETHOD GetMinFontSize(int32_t *aMinFontSize) override { return _to GetMinFontSize(aMinFontSize); } \
NS_IMETHOD SetMinFontSize(int32_t aMinFontSize) override { return _to SetMinFontSize(aMinFontSize); } \
NS_IMETHOD AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array) override { return _to AppendSubtree(array); } \
NS_IMETHOD PausePainting(void) override { return _to PausePainting(); } \
NS_IMETHOD ResumePainting(void) override { return _to ResumePainting(); } \
NS_IMETHOD EmulateMedium(const nsAString & aMediaType) override { return _to EmulateMedium(aMediaType); } \
NS_IMETHOD StopEmulatingMedium(void) override { return _to StopEmulatingMedium(); }
/* 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) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aParentWidget, aBounds); } \
NS_IMETHOD GetContainer(nsIDocShell * *aContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainer(aContainer); } \
NS_IMETHOD SetContainer(nsIDocShell *aContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContainer(aContainer); } \
virtual void LoadStart(nsIDocument *aDoc) override; \
NS_IMETHOD LoadComplete(nsresult aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadComplete(aStatus); } \
NS_IMETHOD GetLoadCompleted(bool *aLoadCompleted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadCompleted(aLoadCompleted); } \
NS_IMETHOD PermitUnload(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PermitUnload(_retval); } \
NS_IMETHOD GetInPermitUnload(bool *aInPermitUnload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInPermitUnload(aInPermitUnload); } \
virtual nsresult PermitUnloadInternal(bool *aShouldPrompt, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PermitUnloadInternal(aShouldPrompt, _retval); } \
NS_IMETHOD GetBeforeUnloadFiring(bool *aBeforeUnloadFiring) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBeforeUnloadFiring(aBeforeUnloadFiring); } \
NS_IMETHOD PageHide(bool isUnload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PageHide(isUnload); } \
NS_IMETHOD Close(nsISHEntry *historyEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(historyEntry); } \
NS_IMETHOD Destroy(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Destroy(); } \
NS_IMETHOD Stop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMDocument(aDOMDocument); } \
NS_IMETHOD SetDOMDocument(nsIDOMDocument *aDOMDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDOMDocument(aDOMDocument); } \
NS_IMETHOD_(nsIDocument *) GetDocument(void) override; \
NS_IMETHOD GetBounds(nsIntRect & aBounds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBounds(aBounds); } \
NS_IMETHOD SetBounds(const nsIntRect & aBounds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBounds(aBounds); } \
NS_IMETHOD SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoundsWithFlags(aBounds, aFlags); } \
NS_IMETHOD GetPreviousViewer(nsIContentViewer * *aPreviousViewer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreviousViewer(aPreviousViewer); } \
NS_IMETHOD SetPreviousViewer(nsIContentViewer *aPreviousViewer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPreviousViewer(aPreviousViewer); } \
NS_IMETHOD Move(int32_t aX, int32_t aY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Move(aX, aY); } \
NS_IMETHOD Show(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Show(); } \
NS_IMETHOD Hide(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Hide(); } \
NS_IMETHOD GetSticky(bool *aSticky) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSticky(aSticky); } \
NS_IMETHOD SetSticky(bool aSticky) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSticky(aSticky); } \
NS_IMETHOD RequestWindowClose(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RequestWindowClose(_retval); } \
NS_IMETHOD Open(nsISupports *aState, nsISHEntry *aSHEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aState, aSHEntry); } \
NS_IMETHOD ClearHistoryEntry(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearHistoryEntry(); } \
NS_IMETHOD SetPageMode(bool aPageMode, nsIPrintSettings *aPrintSettings) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPageMode(aPageMode, aPrintSettings); } \
NS_IMETHOD GetHistoryEntry(nsISHEntry * *aHistoryEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHistoryEntry(aHistoryEntry); } \
NS_IMETHOD GetIsTabModalPromptAllowed(bool *aIsTabModalPromptAllowed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsTabModalPromptAllowed(aIsTabModalPromptAllowed); } \
NS_IMETHOD GetIsHidden(bool *aIsHidden) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsHidden(aIsHidden); } \
NS_IMETHOD SetIsHidden(bool aIsHidden) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsHidden(aIsHidden); } \
NS_IMETHOD GetPresShell(nsIPresShell **aPresShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresShell(aPresShell); } \
NS_IMETHOD GetPresContext(nsPresContext **aPresContext) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresContext(aPresContext); } \
NS_IMETHOD SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocumentInternal(aDocument, aForceReuseInnerWindow); } \
virtual nsView * FindContainerView(void) override; \
virtual void SetNavigationTiming(nsDOMNavigationTiming *aTiming) override; \
NS_IMETHOD ScrollToNode(nsIDOMNode *node) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollToNode(node); } \
NS_IMETHOD GetTextZoom(float *aTextZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextZoom(aTextZoom); } \
NS_IMETHOD SetTextZoom(float aTextZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextZoom(aTextZoom); } \
NS_IMETHOD GetFullZoom(float *aFullZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullZoom(aFullZoom); } \
NS_IMETHOD SetFullZoom(float aFullZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullZoom(aFullZoom); } \
NS_IMETHOD GetOverrideDPPX(float *aOverrideDPPX) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOverrideDPPX(aOverrideDPPX); } \
NS_IMETHOD SetOverrideDPPX(float aOverrideDPPX) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverrideDPPX(aOverrideDPPX); } \
NS_IMETHOD GetAuthorStyleDisabled(bool *aAuthorStyleDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthorStyleDisabled(aAuthorStyleDisabled); } \
NS_IMETHOD SetAuthorStyleDisabled(bool aAuthorStyleDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthorStyleDisabled(aAuthorStyleDisabled); } \
NS_IMETHOD GetForceCharacterSet(nsACString & aForceCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForceCharacterSet(aForceCharacterSet); } \
NS_IMETHOD SetForceCharacterSet(const nsACString & aForceCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForceCharacterSet(aForceCharacterSet); } \
NS_IMETHOD GetHintCharacterSet(nsACString & aHintCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHintCharacterSet(aHintCharacterSet); } \
NS_IMETHOD SetHintCharacterSet(const nsACString & aHintCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHintCharacterSet(aHintCharacterSet); } \
NS_IMETHOD GetHintCharacterSetSource(int32_t *aHintCharacterSetSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHintCharacterSetSource(aHintCharacterSetSource); } \
NS_IMETHOD SetHintCharacterSetSource(int32_t aHintCharacterSetSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHintCharacterSetSource(aHintCharacterSetSource); } \
NS_IMETHOD GetContentSize(int32_t *width, int32_t *height) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentSize(width, height); } \
NS_IMETHOD GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentSizeConstrained(maxWidth, maxHeight, width, height); } \
NS_IMETHOD GetMinFontSize(int32_t *aMinFontSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinFontSize(aMinFontSize); } \
NS_IMETHOD SetMinFontSize(int32_t aMinFontSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMinFontSize(aMinFontSize); } \
NS_IMETHOD AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendSubtree(array); } \
NS_IMETHOD PausePainting(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PausePainting(); } \
NS_IMETHOD ResumePainting(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResumePainting(); } \
NS_IMETHOD EmulateMedium(const nsAString & aMediaType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EmulateMedium(aMediaType); } \
NS_IMETHOD StopEmulatingMedium(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopEmulatingMedium(); }
#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_ISUPPORTS(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 nsIDocShell container; */
NS_IMETHODIMP nsContentViewer::GetContainer(nsIDocShell * *aContainer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetContainer(nsIDocShell *aContainer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript,nostdcall,notxpcom] void loadStart (in nsIDocument aDoc); */
void nsContentViewer::LoadStart(nsIDocument *aDoc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loadComplete (in nsresult aStatus); */
NS_IMETHODIMP nsContentViewer::LoadComplete(nsresult aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] readonly attribute boolean loadCompleted; */
NS_IMETHODIMP nsContentViewer::GetLoadCompleted(bool *aLoadCompleted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean permitUnload (); */
NS_IMETHODIMP nsContentViewer::PermitUnload(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean inPermitUnload; */
NS_IMETHODIMP nsContentViewer::GetInPermitUnload(bool *aInPermitUnload)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript,nostdcall] boolean permitUnloadInternal (inout boolean aShouldPrompt); */
nsresult nsContentViewer::PermitUnloadInternal(bool *aShouldPrompt, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean beforeUnloadFiring; */
NS_IMETHODIMP nsContentViewer::GetBeforeUnloadFiring(bool *aBeforeUnloadFiring)
{
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] nsIDocument 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] void setBoundsWithFlags ([const] in nsIntRectRef aBounds, in unsigned long aFlags); */
NS_IMETHODIMP nsContentViewer::SetBoundsWithFlags(const nsIntRect & aBounds, uint32_t aFlags)
{
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(int32_t aX, int32_t 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)
{
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;
}
/* attribute boolean isHidden; */
NS_IMETHODIMP nsContentViewer::GetIsHidden(bool *aIsHidden)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetIsHidden(bool aIsHidden)
{
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 nsIDocument aDocument, in boolean aForceReuseInnerWindow); */
NS_IMETHODIMP nsContentViewer::SetDocumentInternal(nsIDocument *aDocument, bool aForceReuseInnerWindow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript,nostdcall,notxpcom] nsViewPtr findContainerView (); */
nsView * 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;
}
/* void scrollToNode (in nsIDOMNode node); */
NS_IMETHODIMP nsContentViewer::ScrollToNode(nsIDOMNode *node)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute float textZoom; */
NS_IMETHODIMP nsContentViewer::GetTextZoom(float *aTextZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetTextZoom(float aTextZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute float fullZoom; */
NS_IMETHODIMP nsContentViewer::GetFullZoom(float *aFullZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetFullZoom(float aFullZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute float overrideDPPX; */
NS_IMETHODIMP nsContentViewer::GetOverrideDPPX(float *aOverrideDPPX)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetOverrideDPPX(float aOverrideDPPX)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean authorStyleDisabled; */
NS_IMETHODIMP nsContentViewer::GetAuthorStyleDisabled(bool *aAuthorStyleDisabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetAuthorStyleDisabled(bool aAuthorStyleDisabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString forceCharacterSet; */
NS_IMETHODIMP nsContentViewer::GetForceCharacterSet(nsACString & aForceCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetForceCharacterSet(const nsACString & aForceCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString hintCharacterSet; */
NS_IMETHODIMP nsContentViewer::GetHintCharacterSet(nsACString & aHintCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetHintCharacterSet(const nsACString & aHintCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute int32_t hintCharacterSetSource; */
NS_IMETHODIMP nsContentViewer::GetHintCharacterSetSource(int32_t *aHintCharacterSetSource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetHintCharacterSetSource(int32_t aHintCharacterSetSource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getContentSize (out long width, out long height); */
NS_IMETHODIMP nsContentViewer::GetContentSize(int32_t *width, int32_t *height)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getContentSizeConstrained (in long maxWidth, in long maxHeight, out long width, out long height); */
NS_IMETHODIMP nsContentViewer::GetContentSizeConstrained(int32_t maxWidth, int32_t maxHeight, int32_t *width, int32_t *height)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long minFontSize; */
NS_IMETHODIMP nsContentViewer::GetMinFontSize(int32_t *aMinFontSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsContentViewer::SetMinFontSize(int32_t aMinFontSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void appendSubtree (in nsIContentViewerTArray array); */
NS_IMETHODIMP nsContentViewer::AppendSubtree(nsTArray<nsCOMPtr<nsIContentViewer> > & array)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void pausePainting (); */
NS_IMETHODIMP nsContentViewer::PausePainting()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void resumePainting (); */
NS_IMETHODIMP nsContentViewer::ResumePainting()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void emulateMedium (in AString aMediaType); */
NS_IMETHODIMP nsContentViewer::EmulateMedium(const nsAString & aMediaType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stopEmulatingMedium (); */
NS_IMETHODIMP nsContentViewer::StopEmulatingMedium()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIContentViewer_h__ */
|