LCOV - app.info - objdir/dist/include/nsISHEntry.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsISHEntry.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 2 | 0 | 0.0 %
| Date: | 2012-07-07 | Functions: | 2 | 0 | 0.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/docshell/shistory/public/nsISHEntry.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsISHEntry_h__
           6                 : #define __gen_nsISHEntry_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIHistoryEntry_h__
          10                 : #include "nsIHistoryEntry.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 nsILayoutHistoryState; /* forward declaration */
          18                 :
          19                 : class nsIContentViewer; /* forward declaration */
          20                 :
          21                 : class nsIURI; /* forward declaration */
          22                 :
          23                 : class nsIInputStream; /* forward declaration */
          24                 :
          25                 : class nsIDocShellTreeItem; /* forward declaration */
          26                 :
          27                 : class nsISupportsArray; /* forward declaration */
          28                 :
          29                 : class nsIStructuredCloneContainer; /* forward declaration */
          30                 :
          31                 : class nsIBFCacheEntry; /* forward declaration */
          32                 :
          33                 : struct nsIntRect;
          34                 : class nsDocShellEditorData;
          35                 : class nsSHEntryShared;
          36                 :
          37                 : /* starting interface:    nsISHEntry */
          38                 : #define NS_ISHENTRY_IID_STR "6443fd72-a50f-4b8b-bb82-bb1fa04cb15d"
          39                 :
          40                 : #define NS_ISHENTRY_IID \
          41                 :   {0x6443fd72, 0xa50f, 0x4b8b, \
          42                 :     { 0xbb, 0x82, 0xbb, 0x1f, 0xa0, 0x4c, 0xb1, 0x5d }}
          43                 :
          44               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISHEntry : public nsIHistoryEntry {
          45                 :  public:
          46                 :
          47                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISHENTRY_IID)
          48                 :
          49                 :   /* void setURI (in nsIURI aURI); */
          50                 :   NS_SCRIPTABLE NS_IMETHOD SetURI(nsIURI *aURI) = 0;
          51                 :
          52                 :   /* attribute nsIURI referrerURI; */
          53                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) = 0;
          54                 :   NS_SCRIPTABLE NS_IMETHOD SetReferrerURI(nsIURI *aReferrerURI) = 0;
          55                 :
          56                 :   /* attribute nsIContentViewer contentViewer; */
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetContentViewer(nsIContentViewer * *aContentViewer) = 0;
          58                 :   NS_SCRIPTABLE NS_IMETHOD SetContentViewer(nsIContentViewer *aContentViewer) = 0;
          59                 :
          60                 :   /* attribute boolean sticky; */
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) = 0;
          62                 :   NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) = 0;
          63                 :
          64                 :   /* attribute nsISupports windowState; */
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowState(nsISupports * *aWindowState) = 0;
          66                 :   NS_SCRIPTABLE NS_IMETHOD SetWindowState(nsISupports *aWindowState) = 0;
          67                 :
          68                 :   /* [noscript] void getViewerBounds (in nsIntRect bounds); */
          69                 :   NS_IMETHOD GetViewerBounds(nsIntRect & bounds) = 0;
          70                 :
          71                 :   /* [noscript] void setViewerBounds ([const] in nsIntRect bounds); */
          72                 :   NS_IMETHOD SetViewerBounds(const nsIntRect & bounds) = 0;
          73                 :
          74                 :   /* void addChildShell (in nsIDocShellTreeItem shell); */
          75                 :   NS_SCRIPTABLE NS_IMETHOD AddChildShell(nsIDocShellTreeItem *shell) = 0;
          76                 :
          77                 :   /* nsIDocShellTreeItem childShellAt (in long index); */
          78                 :   NS_SCRIPTABLE NS_IMETHOD ChildShellAt(PRInt32 index, nsIDocShellTreeItem * *_retval NS_OUTPARAM) = 0;
          79                 :
          80                 :   /* void clearChildShells (); */
          81                 :   NS_SCRIPTABLE NS_IMETHOD ClearChildShells(void) = 0;
          82                 :
          83                 :   /* attribute nsISupportsArray refreshURIList; */
          84                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshURIList(nsISupportsArray * *aRefreshURIList) = 0;
          85                 :   NS_SCRIPTABLE NS_IMETHOD SetRefreshURIList(nsISupportsArray *aRefreshURIList) = 0;
          86                 :
          87                 :   /* void syncPresentationState (); */
          88                 :   NS_SCRIPTABLE NS_IMETHOD SyncPresentationState(void) = 0;
          89                 :
          90                 :   /* void setTitle (in AString aTitle); */
          91                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;
          92                 :
          93                 :   /* attribute nsIInputStream postData; */
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetPostData(nsIInputStream * *aPostData) = 0;
          95                 :   NS_SCRIPTABLE NS_IMETHOD SetPostData(nsIInputStream *aPostData) = 0;
          96                 :
          97                 :   /* attribute nsILayoutHistoryState layoutHistoryState; */
          98                 :   NS_SCRIPTABLE NS_IMETHOD GetLayoutHistoryState(nsILayoutHistoryState * *aLayoutHistoryState) = 0;
          99                 :   NS_SCRIPTABLE NS_IMETHOD SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState) = 0;
         100                 :
         101                 :   /* attribute nsISHEntry parent; */
         102                 :   NS_SCRIPTABLE NS_IMETHOD GetParent(nsISHEntry * *aParent) = 0;
         103                 :   NS_SCRIPTABLE NS_IMETHOD SetParent(nsISHEntry *aParent) = 0;
         104                 :
         105                 :   /* attribute unsigned long loadType; */
         106                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadType(PRUint32 *aLoadType) = 0;
         107                 :   NS_SCRIPTABLE NS_IMETHOD SetLoadType(PRUint32 aLoadType) = 0;
         108                 :
         109                 :   /* attribute unsigned long ID; */
         110                 :   NS_SCRIPTABLE NS_IMETHOD GetID(PRUint32 *aID) = 0;
         111                 :   NS_SCRIPTABLE NS_IMETHOD SetID(PRUint32 aID) = 0;
         112                 :
         113                 :   /* attribute nsISupports cacheKey; */
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheKey(nsISupports * *aCacheKey) = 0;
         115                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheKey(nsISupports *aCacheKey) = 0;
         116                 :
         117                 :   /* attribute boolean saveLayoutStateFlag; */
         118                 :   NS_SCRIPTABLE NS_IMETHOD GetSaveLayoutStateFlag(bool *aSaveLayoutStateFlag) = 0;
         119                 :   NS_SCRIPTABLE NS_IMETHOD SetSaveLayoutStateFlag(bool aSaveLayoutStateFlag) = 0;
         120                 :
         121                 :   /* attribute boolean expirationStatus; */
         122                 :   NS_SCRIPTABLE NS_IMETHOD GetExpirationStatus(bool *aExpirationStatus) = 0;
         123                 :   NS_SCRIPTABLE NS_IMETHOD SetExpirationStatus(bool aExpirationStatus) = 0;
         124                 :
         125                 :   /* attribute ACString contentType; */
         126                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsACString & aContentType) = 0;
         127                 :   NS_SCRIPTABLE NS_IMETHOD SetContentType(const nsACString & aContentType) = 0;
         128                 :
         129                 :   /* attribute boolean URIWasModified; */
         130                 :   NS_SCRIPTABLE NS_IMETHOD GetURIWasModified(bool *aURIWasModified) = 0;
         131                 :   NS_SCRIPTABLE NS_IMETHOD SetURIWasModified(bool aURIWasModified) = 0;
         132                 :
         133                 :   /* void setScrollPosition (in long x, in long y); */
         134                 :   NS_SCRIPTABLE NS_IMETHOD SetScrollPosition(PRInt32 x, PRInt32 y) = 0;
         135                 :
         136                 :   /* void getScrollPosition (out long x, out long y); */
         137                 :   NS_SCRIPTABLE NS_IMETHOD GetScrollPosition(PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM) = 0;
         138                 :
         139                 :   /* [noscript] void create (in nsIURI URI, in AString title, in nsIInputStream inputStream, in nsILayoutHistoryState layoutHistoryState, in nsISupports cacheKey, in ACString contentType, in nsISupports owner, in unsigned long long docshellID, in boolean dynamicCreation); */
         140                 :   NS_IMETHOD Create(nsIURI *URI, const nsAString & title, nsIInputStream *inputStream, nsILayoutHistoryState *layoutHistoryState, nsISupports *cacheKey, const nsACString & contentType, nsISupports *owner, PRUint64 docshellID, bool dynamicCreation) = 0;
         141                 :
         142                 :   /* nsISHEntry clone (); */
         143                 :   NS_SCRIPTABLE NS_IMETHOD Clone(nsISHEntry * *_retval NS_OUTPARAM) = 0;
         144                 :
         145                 :   /* void setIsSubFrame (in boolean aFlag); */
         146                 :   NS_SCRIPTABLE NS_IMETHOD SetIsSubFrame(bool aFlag) = 0;
         147                 :
         148                 :   /* nsIContentViewer getAnyContentViewer (out nsISHEntry ownerEntry); */
         149                 :   NS_SCRIPTABLE NS_IMETHOD GetAnyContentViewer(nsISHEntry * *ownerEntry NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) = 0;
         150                 :
         151                 :   /* attribute nsISupports owner; */
         152                 :   NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) = 0;
         153                 :   NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) = 0;
         154                 :
         155                 :   /* attribute nsIStructuredCloneContainer stateData; */
         156                 :   NS_SCRIPTABLE NS_IMETHOD GetStateData(nsIStructuredCloneContainer * *aStateData) = 0;
         157                 :   NS_SCRIPTABLE NS_IMETHOD SetStateData(nsIStructuredCloneContainer *aStateData) = 0;
         158                 :
         159                 :   /* [noscript,notxpcom] nsDocShellEditorDataPtr forgetEditorData (); */
         160                 :   NS_IMETHOD_(nsDocShellEditorData *) ForgetEditorData(void) = 0;
         161                 :
         162                 :   /* [noscript,notxpcom] void setEditorData (in nsDocShellEditorDataPtr aData); */
         163                 :   NS_IMETHOD_(void) SetEditorData(nsDocShellEditorData *aData) = 0;
         164                 :
         165                 :   /* [noscript,notxpcom] boolean hasDetachedEditor (); */
         166                 :   NS_IMETHOD_(bool) HasDetachedEditor(void) = 0;
         167                 :
         168                 :   /* boolean isDynamicallyAdded (); */
         169                 :   NS_SCRIPTABLE NS_IMETHOD IsDynamicallyAdded(bool *_retval NS_OUTPARAM) = 0;
         170                 :
         171                 :   /* boolean hasDynamicallyAddedChild (); */
         172                 :   NS_SCRIPTABLE NS_IMETHOD HasDynamicallyAddedChild(bool *_retval NS_OUTPARAM) = 0;
         173                 :
         174                 :   /* attribute unsigned long long docshellID; */
         175                 :   NS_SCRIPTABLE NS_IMETHOD GetDocshellID(PRUint64 *aDocshellID) = 0;
         176                 :   NS_SCRIPTABLE NS_IMETHOD SetDocshellID(PRUint64 aDocshellID) = 0;
         177                 :
         178                 :   /* readonly attribute nsIBFCacheEntry BFCacheEntry; */
         179                 :   NS_SCRIPTABLE NS_IMETHOD GetBFCacheEntry(nsIBFCacheEntry * *aBFCacheEntry) = 0;
         180                 :
         181                 :   /* [noscript,notxpcom] boolean hasBFCacheEntry (in nsIBFCacheEntry aEntry); */
         182                 :   NS_IMETHOD_(bool) HasBFCacheEntry(nsIBFCacheEntry *aEntry) = 0;
         183                 :
         184                 :   /* void adoptBFCacheEntry (in nsISHEntry aEntry); */
         185                 :   NS_SCRIPTABLE NS_IMETHOD AdoptBFCacheEntry(nsISHEntry *aEntry) = 0;
         186                 :
         187                 :   /* void abandonBFCacheEntry (); */
         188                 :   NS_SCRIPTABLE NS_IMETHOD AbandonBFCacheEntry(void) = 0;
         189                 :
         190                 :   /* boolean sharesDocumentWith (in nsISHEntry aEntry); */
         191                 :   NS_SCRIPTABLE NS_IMETHOD SharesDocumentWith(nsISHEntry *aEntry, bool *_retval NS_OUTPARAM) = 0;
         192                 :
         193                 : };
         194                 :
         195                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISHEntry, NS_ISHENTRY_IID)
         196                 :
         197                 : /* Use this macro when declaring classes that implement this interface. */
         198                 : #define NS_DECL_NSISHENTRY \
         199                 :   NS_SCRIPTABLE NS_IMETHOD SetURI(nsIURI *aURI); \
         200                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI); \
         201                 :   NS_SCRIPTABLE NS_IMETHOD SetReferrerURI(nsIURI *aReferrerURI); \
         202                 :   NS_SCRIPTABLE NS_IMETHOD GetContentViewer(nsIContentViewer * *aContentViewer); \
         203                 :   NS_SCRIPTABLE NS_IMETHOD SetContentViewer(nsIContentViewer *aContentViewer); \
         204                 :   NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky); \
         205                 :   NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky); \
         206                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowState(nsISupports * *aWindowState); \
         207                 :   NS_SCRIPTABLE NS_IMETHOD SetWindowState(nsISupports *aWindowState); \
         208                 :   NS_IMETHOD GetViewerBounds(nsIntRect & bounds); \
         209                 :   NS_IMETHOD SetViewerBounds(const nsIntRect & bounds); \
         210                 :   NS_SCRIPTABLE NS_IMETHOD AddChildShell(nsIDocShellTreeItem *shell); \
         211                 :   NS_SCRIPTABLE NS_IMETHOD ChildShellAt(PRInt32 index, nsIDocShellTreeItem * *_retval NS_OUTPARAM); \
         212                 :   NS_SCRIPTABLE NS_IMETHOD ClearChildShells(void); \
         213                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshURIList(nsISupportsArray * *aRefreshURIList); \
         214                 :   NS_SCRIPTABLE NS_IMETHOD SetRefreshURIList(nsISupportsArray *aRefreshURIList); \
         215                 :   NS_SCRIPTABLE NS_IMETHOD SyncPresentationState(void); \
         216                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle); \
         217                 :   NS_SCRIPTABLE NS_IMETHOD GetPostData(nsIInputStream * *aPostData); \
         218                 :   NS_SCRIPTABLE NS_IMETHOD SetPostData(nsIInputStream *aPostData); \
         219                 :   NS_SCRIPTABLE NS_IMETHOD GetLayoutHistoryState(nsILayoutHistoryState * *aLayoutHistoryState); \
         220                 :   NS_SCRIPTABLE NS_IMETHOD SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState); \
         221                 :   NS_SCRIPTABLE NS_IMETHOD GetParent(nsISHEntry * *aParent); \
         222                 :   NS_SCRIPTABLE NS_IMETHOD SetParent(nsISHEntry *aParent); \
         223                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadType(PRUint32 *aLoadType); \
         224                 :   NS_SCRIPTABLE NS_IMETHOD SetLoadType(PRUint32 aLoadType); \
         225                 :   NS_SCRIPTABLE NS_IMETHOD GetID(PRUint32 *aID); \
         226                 :   NS_SCRIPTABLE NS_IMETHOD SetID(PRUint32 aID); \
         227                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheKey(nsISupports * *aCacheKey); \
         228                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheKey(nsISupports *aCacheKey); \
         229                 :   NS_SCRIPTABLE NS_IMETHOD GetSaveLayoutStateFlag(bool *aSaveLayoutStateFlag); \
         230                 :   NS_SCRIPTABLE NS_IMETHOD SetSaveLayoutStateFlag(bool aSaveLayoutStateFlag); \
         231                 :   NS_SCRIPTABLE NS_IMETHOD GetExpirationStatus(bool *aExpirationStatus); \
         232                 :   NS_SCRIPTABLE NS_IMETHOD SetExpirationStatus(bool aExpirationStatus); \
         233                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsACString & aContentType); \
         234                 :   NS_SCRIPTABLE NS_IMETHOD SetContentType(const nsACString & aContentType); \
         235                 :   NS_SCRIPTABLE NS_IMETHOD GetURIWasModified(bool *aURIWasModified); \
         236                 :   NS_SCRIPTABLE NS_IMETHOD SetURIWasModified(bool aURIWasModified); \
         237                 :   NS_SCRIPTABLE NS_IMETHOD SetScrollPosition(PRInt32 x, PRInt32 y); \
         238                 :   NS_SCRIPTABLE NS_IMETHOD GetScrollPosition(PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM); \
         239                 :   NS_IMETHOD Create(nsIURI *URI, const nsAString & title, nsIInputStream *inputStream, nsILayoutHistoryState *layoutHistoryState, nsISupports *cacheKey, const nsACString & contentType, nsISupports *owner, PRUint64 docshellID, bool dynamicCreation); \
         240                 :   NS_SCRIPTABLE NS_IMETHOD Clone(nsISHEntry * *_retval NS_OUTPARAM); \
         241                 :   NS_SCRIPTABLE NS_IMETHOD SetIsSubFrame(bool aFlag); \
         242                 :   NS_SCRIPTABLE NS_IMETHOD GetAnyContentViewer(nsISHEntry * *ownerEntry NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM); \
         243                 :   NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner); \
         244                 :   NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner); \
         245                 :   NS_SCRIPTABLE NS_IMETHOD GetStateData(nsIStructuredCloneContainer * *aStateData); \
         246                 :   NS_SCRIPTABLE NS_IMETHOD SetStateData(nsIStructuredCloneContainer *aStateData); \
         247                 :   NS_IMETHOD_(nsDocShellEditorData *) ForgetEditorData(void); \
         248                 :   NS_IMETHOD_(void) SetEditorData(nsDocShellEditorData *aData); \
         249                 :   NS_IMETHOD_(bool) HasDetachedEditor(void); \
         250                 :   NS_SCRIPTABLE NS_IMETHOD IsDynamicallyAdded(bool *_retval NS_OUTPARAM); \
         251                 :   NS_SCRIPTABLE NS_IMETHOD HasDynamicallyAddedChild(bool *_retval NS_OUTPARAM); \
         252                 :   NS_SCRIPTABLE NS_IMETHOD GetDocshellID(PRUint64 *aDocshellID); \
         253                 :   NS_SCRIPTABLE NS_IMETHOD SetDocshellID(PRUint64 aDocshellID); \
         254                 :   NS_SCRIPTABLE NS_IMETHOD GetBFCacheEntry(nsIBFCacheEntry * *aBFCacheEntry); \
         255                 :   NS_IMETHOD_(bool) HasBFCacheEntry(nsIBFCacheEntry *aEntry); \
         256                 :   NS_SCRIPTABLE NS_IMETHOD AdoptBFCacheEntry(nsISHEntry *aEntry); \
         257                 :   NS_SCRIPTABLE NS_IMETHOD AbandonBFCacheEntry(void); \
         258                 :   NS_SCRIPTABLE NS_IMETHOD SharesDocumentWith(nsISHEntry *aEntry, bool *_retval NS_OUTPARAM);
         259                 :
         260                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         261                 : #define NS_FORWARD_NSISHENTRY(_to) \
         262                 :   NS_SCRIPTABLE NS_IMETHOD SetURI(nsIURI *aURI) { return _to SetURI(aURI); } \
         263                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) { return _to GetReferrerURI(aReferrerURI); } \
         264                 :   NS_SCRIPTABLE NS_IMETHOD SetReferrerURI(nsIURI *aReferrerURI) { return _to SetReferrerURI(aReferrerURI); } \
         265                 :   NS_SCRIPTABLE NS_IMETHOD GetContentViewer(nsIContentViewer * *aContentViewer) { return _to GetContentViewer(aContentViewer); } \
         266                 :   NS_SCRIPTABLE NS_IMETHOD SetContentViewer(nsIContentViewer *aContentViewer) { return _to SetContentViewer(aContentViewer); } \
         267                 :   NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) { return _to GetSticky(aSticky); } \
         268                 :   NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) { return _to SetSticky(aSticky); } \
         269                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowState(nsISupports * *aWindowState) { return _to GetWindowState(aWindowState); } \
         270                 :   NS_SCRIPTABLE NS_IMETHOD SetWindowState(nsISupports *aWindowState) { return _to SetWindowState(aWindowState); } \
         271                 :   NS_IMETHOD GetViewerBounds(nsIntRect & bounds) { return _to GetViewerBounds(bounds); } \
         272                 :   NS_IMETHOD SetViewerBounds(const nsIntRect & bounds) { return _to SetViewerBounds(bounds); } \
         273                 :   NS_SCRIPTABLE NS_IMETHOD AddChildShell(nsIDocShellTreeItem *shell) { return _to AddChildShell(shell); } \
         274                 :   NS_SCRIPTABLE NS_IMETHOD ChildShellAt(PRInt32 index, nsIDocShellTreeItem * *_retval NS_OUTPARAM) { return _to ChildShellAt(index, _retval); } \
         275                 :   NS_SCRIPTABLE NS_IMETHOD ClearChildShells(void) { return _to ClearChildShells(); } \
         276                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshURIList(nsISupportsArray * *aRefreshURIList) { return _to GetRefreshURIList(aRefreshURIList); } \
         277                 :   NS_SCRIPTABLE NS_IMETHOD SetRefreshURIList(nsISupportsArray *aRefreshURIList) { return _to SetRefreshURIList(aRefreshURIList); } \
         278                 :   NS_SCRIPTABLE NS_IMETHOD SyncPresentationState(void) { return _to SyncPresentationState(); } \
         279                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } \
         280                 :   NS_SCRIPTABLE NS_IMETHOD GetPostData(nsIInputStream * *aPostData) { return _to GetPostData(aPostData); } \
         281                 :   NS_SCRIPTABLE NS_IMETHOD SetPostData(nsIInputStream *aPostData) { return _to SetPostData(aPostData); } \
         282                 :   NS_SCRIPTABLE NS_IMETHOD GetLayoutHistoryState(nsILayoutHistoryState * *aLayoutHistoryState) { return _to GetLayoutHistoryState(aLayoutHistoryState); } \
         283                 :   NS_SCRIPTABLE NS_IMETHOD SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState) { return _to SetLayoutHistoryState(aLayoutHistoryState); } \
         284                 :   NS_SCRIPTABLE NS_IMETHOD GetParent(nsISHEntry * *aParent) { return _to GetParent(aParent); } \
         285                 :   NS_SCRIPTABLE NS_IMETHOD SetParent(nsISHEntry *aParent) { return _to SetParent(aParent); } \
         286                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadType(PRUint32 *aLoadType) { return _to GetLoadType(aLoadType); } \
         287                 :   NS_SCRIPTABLE NS_IMETHOD SetLoadType(PRUint32 aLoadType) { return _to SetLoadType(aLoadType); } \
         288                 :   NS_SCRIPTABLE NS_IMETHOD GetID(PRUint32 *aID) { return _to GetID(aID); } \
         289                 :   NS_SCRIPTABLE NS_IMETHOD SetID(PRUint32 aID) { return _to SetID(aID); } \
         290                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheKey(nsISupports * *aCacheKey) { return _to GetCacheKey(aCacheKey); } \
         291                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheKey(nsISupports *aCacheKey) { return _to SetCacheKey(aCacheKey); } \
         292                 :   NS_SCRIPTABLE NS_IMETHOD GetSaveLayoutStateFlag(bool *aSaveLayoutStateFlag) { return _to GetSaveLayoutStateFlag(aSaveLayoutStateFlag); } \
         293                 :   NS_SCRIPTABLE NS_IMETHOD SetSaveLayoutStateFlag(bool aSaveLayoutStateFlag) { return _to SetSaveLayoutStateFlag(aSaveLayoutStateFlag); } \
         294                 :   NS_SCRIPTABLE NS_IMETHOD GetExpirationStatus(bool *aExpirationStatus) { return _to GetExpirationStatus(aExpirationStatus); } \
         295                 :   NS_SCRIPTABLE NS_IMETHOD SetExpirationStatus(bool aExpirationStatus) { return _to SetExpirationStatus(aExpirationStatus); } \
         296                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsACString & aContentType) { return _to GetContentType(aContentType); } \
         297                 :   NS_SCRIPTABLE NS_IMETHOD SetContentType(const nsACString & aContentType) { return _to SetContentType(aContentType); } \
         298                 :   NS_SCRIPTABLE NS_IMETHOD GetURIWasModified(bool *aURIWasModified) { return _to GetURIWasModified(aURIWasModified); } \
         299                 :   NS_SCRIPTABLE NS_IMETHOD SetURIWasModified(bool aURIWasModified) { return _to SetURIWasModified(aURIWasModified); } \
         300                 :   NS_SCRIPTABLE NS_IMETHOD SetScrollPosition(PRInt32 x, PRInt32 y) { return _to SetScrollPosition(x, y); } \
         301                 :   NS_SCRIPTABLE NS_IMETHOD GetScrollPosition(PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM) { return _to GetScrollPosition(x, y); } \
         302                 :   NS_IMETHOD Create(nsIURI *URI, const nsAString & title, nsIInputStream *inputStream, nsILayoutHistoryState *layoutHistoryState, nsISupports *cacheKey, const nsACString & contentType, nsISupports *owner, PRUint64 docshellID, bool dynamicCreation) { return _to Create(URI, title, inputStream, layoutHistoryState, cacheKey, contentType, owner, docshellID, dynamicCreation); } \
         303                 :   NS_SCRIPTABLE NS_IMETHOD Clone(nsISHEntry * *_retval NS_OUTPARAM) { return _to Clone(_retval); } \
         304                 :   NS_SCRIPTABLE NS_IMETHOD SetIsSubFrame(bool aFlag) { return _to SetIsSubFrame(aFlag); } \
         305                 :   NS_SCRIPTABLE NS_IMETHOD GetAnyContentViewer(nsISHEntry * *ownerEntry NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) { return _to GetAnyContentViewer(ownerEntry, _retval); } \
         306                 :   NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) { return _to GetOwner(aOwner); } \
         307                 :   NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) { return _to SetOwner(aOwner); } \
         308                 :   NS_SCRIPTABLE NS_IMETHOD GetStateData(nsIStructuredCloneContainer * *aStateData) { return _to GetStateData(aStateData); } \
         309                 :   NS_SCRIPTABLE NS_IMETHOD SetStateData(nsIStructuredCloneContainer *aStateData) { return _to SetStateData(aStateData); } \
         310                 :   NS_IMETHOD_(nsDocShellEditorData *) ForgetEditorData(void) { return _to ForgetEditorData(); } \
         311                 :   NS_IMETHOD_(void) SetEditorData(nsDocShellEditorData *aData) { return _to SetEditorData(aData); } \
         312                 :   NS_IMETHOD_(bool) HasDetachedEditor(void) { return _to HasDetachedEditor(); } \
         313                 :   NS_SCRIPTABLE NS_IMETHOD IsDynamicallyAdded(bool *_retval NS_OUTPARAM) { return _to IsDynamicallyAdded(_retval); } \
         314                 :   NS_SCRIPTABLE NS_IMETHOD HasDynamicallyAddedChild(bool *_retval NS_OUTPARAM) { return _to HasDynamicallyAddedChild(_retval); } \
         315                 :   NS_SCRIPTABLE NS_IMETHOD GetDocshellID(PRUint64 *aDocshellID) { return _to GetDocshellID(aDocshellID); } \
         316                 :   NS_SCRIPTABLE NS_IMETHOD SetDocshellID(PRUint64 aDocshellID) { return _to SetDocshellID(aDocshellID); } \
         317                 :   NS_SCRIPTABLE NS_IMETHOD GetBFCacheEntry(nsIBFCacheEntry * *aBFCacheEntry) { return _to GetBFCacheEntry(aBFCacheEntry); } \
         318                 :   NS_IMETHOD_(bool) HasBFCacheEntry(nsIBFCacheEntry *aEntry) { return _to HasBFCacheEntry(aEntry); } \
         319                 :   NS_SCRIPTABLE NS_IMETHOD AdoptBFCacheEntry(nsISHEntry *aEntry) { return _to AdoptBFCacheEntry(aEntry); } \
         320                 :   NS_SCRIPTABLE NS_IMETHOD AbandonBFCacheEntry(void) { return _to AbandonBFCacheEntry(); } \
         321                 :   NS_SCRIPTABLE NS_IMETHOD SharesDocumentWith(nsISHEntry *aEntry, bool *_retval NS_OUTPARAM) { return _to SharesDocumentWith(aEntry, _retval); }
         322                 :
         323                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         324                 : #define NS_FORWARD_SAFE_NSISHENTRY(_to) \
         325                 :   NS_SCRIPTABLE NS_IMETHOD SetURI(nsIURI *aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURI(aURI); } \
         326                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrerURI(nsIURI * *aReferrerURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrerURI(aReferrerURI); } \
         327                 :   NS_SCRIPTABLE NS_IMETHOD SetReferrerURI(nsIURI *aReferrerURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReferrerURI(aReferrerURI); } \
         328                 :   NS_SCRIPTABLE NS_IMETHOD GetContentViewer(nsIContentViewer * *aContentViewer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentViewer(aContentViewer); } \
         329                 :   NS_SCRIPTABLE NS_IMETHOD SetContentViewer(nsIContentViewer *aContentViewer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentViewer(aContentViewer); } \
         330                 :   NS_SCRIPTABLE NS_IMETHOD GetSticky(bool *aSticky) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSticky(aSticky); } \
         331                 :   NS_SCRIPTABLE NS_IMETHOD SetSticky(bool aSticky) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSticky(aSticky); } \
         332                 :   NS_SCRIPTABLE NS_IMETHOD GetWindowState(nsISupports * *aWindowState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowState(aWindowState); } \
         333                 :   NS_SCRIPTABLE NS_IMETHOD SetWindowState(nsISupports *aWindowState) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowState(aWindowState); } \
         334                 :   NS_IMETHOD GetViewerBounds(nsIntRect & bounds) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewerBounds(bounds); } \
         335                 :   NS_IMETHOD SetViewerBounds(const nsIntRect & bounds) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewerBounds(bounds); } \
         336                 :   NS_SCRIPTABLE NS_IMETHOD AddChildShell(nsIDocShellTreeItem *shell) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddChildShell(shell); } \
         337                 :   NS_SCRIPTABLE NS_IMETHOD ChildShellAt(PRInt32 index, nsIDocShellTreeItem * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChildShellAt(index, _retval); } \
         338                 :   NS_SCRIPTABLE NS_IMETHOD ClearChildShells(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearChildShells(); } \
         339                 :   NS_SCRIPTABLE NS_IMETHOD GetRefreshURIList(nsISupportsArray * *aRefreshURIList) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRefreshURIList(aRefreshURIList); } \
         340                 :   NS_SCRIPTABLE NS_IMETHOD SetRefreshURIList(nsISupportsArray *aRefreshURIList) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRefreshURIList(aRefreshURIList); } \
         341                 :   NS_SCRIPTABLE NS_IMETHOD SyncPresentationState(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SyncPresentationState(); } \
         342                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
         343                 :   NS_SCRIPTABLE NS_IMETHOD GetPostData(nsIInputStream * *aPostData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostData(aPostData); } \
         344                 :   NS_SCRIPTABLE NS_IMETHOD SetPostData(nsIInputStream *aPostData) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostData(aPostData); } \
         345                 :   NS_SCRIPTABLE NS_IMETHOD GetLayoutHistoryState(nsILayoutHistoryState * *aLayoutHistoryState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLayoutHistoryState(aLayoutHistoryState); } \
         346                 :   NS_SCRIPTABLE NS_IMETHOD SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLayoutHistoryState(aLayoutHistoryState); } \
         347                 :   NS_SCRIPTABLE NS_IMETHOD GetParent(nsISHEntry * *aParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParent(aParent); } \
         348                 :   NS_SCRIPTABLE NS_IMETHOD SetParent(nsISHEntry *aParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParent(aParent); } \
         349                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadType(PRUint32 *aLoadType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadType(aLoadType); } \
         350                 :   NS_SCRIPTABLE NS_IMETHOD SetLoadType(PRUint32 aLoadType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadType(aLoadType); } \
         351                 :   NS_SCRIPTABLE NS_IMETHOD GetID(PRUint32 *aID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(aID); } \
         352                 :   NS_SCRIPTABLE NS_IMETHOD SetID(PRUint32 aID) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetID(aID); } \
         353                 :   NS_SCRIPTABLE NS_IMETHOD GetCacheKey(nsISupports * *aCacheKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCacheKey(aCacheKey); } \
         354                 :   NS_SCRIPTABLE NS_IMETHOD SetCacheKey(nsISupports *aCacheKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCacheKey(aCacheKey); } \
         355                 :   NS_SCRIPTABLE NS_IMETHOD GetSaveLayoutStateFlag(bool *aSaveLayoutStateFlag) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSaveLayoutStateFlag(aSaveLayoutStateFlag); } \
         356                 :   NS_SCRIPTABLE NS_IMETHOD SetSaveLayoutStateFlag(bool aSaveLayoutStateFlag) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSaveLayoutStateFlag(aSaveLayoutStateFlag); } \
         357                 :   NS_SCRIPTABLE NS_IMETHOD GetExpirationStatus(bool *aExpirationStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpirationStatus(aExpirationStatus); } \
         358                 :   NS_SCRIPTABLE NS_IMETHOD SetExpirationStatus(bool aExpirationStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpirationStatus(aExpirationStatus); } \
         359                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsACString & aContentType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentType(aContentType); } \
         360                 :   NS_SCRIPTABLE NS_IMETHOD SetContentType(const nsACString & aContentType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentType(aContentType); } \
         361                 :   NS_SCRIPTABLE NS_IMETHOD GetURIWasModified(bool *aURIWasModified) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURIWasModified(aURIWasModified); } \
         362                 :   NS_SCRIPTABLE NS_IMETHOD SetURIWasModified(bool aURIWasModified) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURIWasModified(aURIWasModified); } \
         363                 :   NS_SCRIPTABLE NS_IMETHOD SetScrollPosition(PRInt32 x, PRInt32 y) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScrollPosition(x, y); } \
         364                 :   NS_SCRIPTABLE NS_IMETHOD GetScrollPosition(PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollPosition(x, y); } \
         365                 :   NS_IMETHOD Create(nsIURI *URI, const nsAString & title, nsIInputStream *inputStream, nsILayoutHistoryState *layoutHistoryState, nsISupports *cacheKey, const nsACString & contentType, nsISupports *owner, PRUint64 docshellID, bool dynamicCreation) { return !_to ? NS_ERROR_NULL_POINTER : _to->Create(URI, title, inputStream, layoutHistoryState, cacheKey, contentType, owner, docshellID, dynamicCreation); } \
         366                 :   NS_SCRIPTABLE NS_IMETHOD Clone(nsISHEntry * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
         367                 :   NS_SCRIPTABLE NS_IMETHOD SetIsSubFrame(bool aFlag) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsSubFrame(aFlag); } \
         368                 :   NS_SCRIPTABLE NS_IMETHOD GetAnyContentViewer(nsISHEntry * *ownerEntry NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnyContentViewer(ownerEntry, _retval); } \
         369                 :   NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwner(aOwner); } \
         370                 :   NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOwner(aOwner); } \
         371                 :   NS_SCRIPTABLE NS_IMETHOD GetStateData(nsIStructuredCloneContainer * *aStateData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStateData(aStateData); } \
         372                 :   NS_SCRIPTABLE NS_IMETHOD SetStateData(nsIStructuredCloneContainer *aStateData) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStateData(aStateData); } \
         373                 :   NS_IMETHOD_(nsDocShellEditorData *) ForgetEditorData(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForgetEditorData(); } \
         374                 :   NS_IMETHOD_(void) SetEditorData(nsDocShellEditorData *aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEditorData(aData); } \
         375                 :   NS_IMETHOD_(bool) HasDetachedEditor(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasDetachedEditor(); } \
         376                 :   NS_SCRIPTABLE NS_IMETHOD IsDynamicallyAdded(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsDynamicallyAdded(_retval); } \
         377                 :   NS_SCRIPTABLE NS_IMETHOD HasDynamicallyAddedChild(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasDynamicallyAddedChild(_retval); } \
         378                 :   NS_SCRIPTABLE NS_IMETHOD GetDocshellID(PRUint64 *aDocshellID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocshellID(aDocshellID); } \
         379                 :   NS_SCRIPTABLE NS_IMETHOD SetDocshellID(PRUint64 aDocshellID) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocshellID(aDocshellID); } \
         380                 :   NS_SCRIPTABLE NS_IMETHOD GetBFCacheEntry(nsIBFCacheEntry * *aBFCacheEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBFCacheEntry(aBFCacheEntry); } \
         381                 :   NS_IMETHOD_(bool) HasBFCacheEntry(nsIBFCacheEntry *aEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasBFCacheEntry(aEntry); } \
         382                 :   NS_SCRIPTABLE NS_IMETHOD AdoptBFCacheEntry(nsISHEntry *aEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->AdoptBFCacheEntry(aEntry); } \
         383                 :   NS_SCRIPTABLE NS_IMETHOD AbandonBFCacheEntry(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->AbandonBFCacheEntry(); } \
         384                 :   NS_SCRIPTABLE NS_IMETHOD SharesDocumentWith(nsISHEntry *aEntry, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SharesDocumentWith(aEntry, _retval); }
         385                 :
         386                 : #if 0
         387                 : /* Use the code below as a template for the implementation class for this interface. */
         388                 :
         389                 : /* Header file */
         390                 : class nsSHEntry : public nsISHEntry
         391                 : {
         392                 : public:
         393                 :   NS_DECL_ISUPPORTS
         394                 :   NS_DECL_NSISHENTRY
         395                 :
         396                 :   nsSHEntry();
         397                 :
         398                 : private:
         399                 :   ~nsSHEntry();
         400                 :
         401                 : protected:
         402                 :   /* additional members */
         403                 : };
         404                 :
         405                 : /* Implementation file */
         406                 : NS_IMPL_ISUPPORTS1(nsSHEntry, nsISHEntry)
         407                 :
         408                 : nsSHEntry::nsSHEntry()
         409                 : {
         410                 :   /* member initializers and constructor code */
         411                 : }
         412                 :
         413                 : nsSHEntry::~nsSHEntry()
         414                 : {
         415                 :   /* destructor code */
         416                 : }
         417                 :
         418                 : /* void setURI (in nsIURI aURI); */
         419                 : NS_IMETHODIMP nsSHEntry::SetURI(nsIURI *aURI)
         420                 : {
         421                 :     return NS_ERROR_NOT_IMPLEMENTED;
         422                 : }
         423                 :
         424                 : /* attribute nsIURI referrerURI; */
         425                 : NS_IMETHODIMP nsSHEntry::GetReferrerURI(nsIURI * *aReferrerURI)
         426                 : {
         427                 :     return NS_ERROR_NOT_IMPLEMENTED;
         428                 : }
         429                 : NS_IMETHODIMP nsSHEntry::SetReferrerURI(nsIURI *aReferrerURI)
         430                 : {
         431                 :     return NS_ERROR_NOT_IMPLEMENTED;
         432                 : }
         433                 :
         434                 : /* attribute nsIContentViewer contentViewer; */
         435                 : NS_IMETHODIMP nsSHEntry::GetContentViewer(nsIContentViewer * *aContentViewer)
         436                 : {
         437                 :     return NS_ERROR_NOT_IMPLEMENTED;
         438                 : }
         439                 : NS_IMETHODIMP nsSHEntry::SetContentViewer(nsIContentViewer *aContentViewer)
         440                 : {
         441                 :     return NS_ERROR_NOT_IMPLEMENTED;
         442                 : }
         443                 :
         444                 : /* attribute boolean sticky; */
         445                 : NS_IMETHODIMP nsSHEntry::GetSticky(bool *aSticky)
         446                 : {
         447                 :     return NS_ERROR_NOT_IMPLEMENTED;
         448                 : }
         449                 : NS_IMETHODIMP nsSHEntry::SetSticky(bool aSticky)
         450                 : {
         451                 :     return NS_ERROR_NOT_IMPLEMENTED;
         452                 : }
         453                 :
         454                 : /* attribute nsISupports windowState; */
         455                 : NS_IMETHODIMP nsSHEntry::GetWindowState(nsISupports * *aWindowState)
         456                 : {
         457                 :     return NS_ERROR_NOT_IMPLEMENTED;
         458                 : }
         459                 : NS_IMETHODIMP nsSHEntry::SetWindowState(nsISupports *aWindowState)
         460                 : {
         461                 :     return NS_ERROR_NOT_IMPLEMENTED;
         462                 : }
         463                 :
         464                 : /* [noscript] void getViewerBounds (in nsIntRect bounds); */
         465                 : NS_IMETHODIMP nsSHEntry::GetViewerBounds(nsIntRect & bounds)
         466                 : {
         467                 :     return NS_ERROR_NOT_IMPLEMENTED;
         468                 : }
         469                 :
         470                 : /* [noscript] void setViewerBounds ([const] in nsIntRect bounds); */
         471                 : NS_IMETHODIMP nsSHEntry::SetViewerBounds(const nsIntRect & bounds)
         472                 : {
         473                 :     return NS_ERROR_NOT_IMPLEMENTED;
         474                 : }
         475                 :
         476                 : /* void addChildShell (in nsIDocShellTreeItem shell); */
         477                 : NS_IMETHODIMP nsSHEntry::AddChildShell(nsIDocShellTreeItem *shell)
         478                 : {
         479                 :     return NS_ERROR_NOT_IMPLEMENTED;
         480                 : }
         481                 :
         482                 : /* nsIDocShellTreeItem childShellAt (in long index); */
         483                 : NS_IMETHODIMP nsSHEntry::ChildShellAt(PRInt32 index, nsIDocShellTreeItem * *_retval NS_OUTPARAM)
         484                 : {
         485                 :     return NS_ERROR_NOT_IMPLEMENTED;
         486                 : }
         487                 :
         488                 : /* void clearChildShells (); */
         489                 : NS_IMETHODIMP nsSHEntry::ClearChildShells()
         490                 : {
         491                 :     return NS_ERROR_NOT_IMPLEMENTED;
         492                 : }
         493                 :
         494                 : /* attribute nsISupportsArray refreshURIList; */
         495                 : NS_IMETHODIMP nsSHEntry::GetRefreshURIList(nsISupportsArray * *aRefreshURIList)
         496                 : {
         497                 :     return NS_ERROR_NOT_IMPLEMENTED;
         498                 : }
         499                 : NS_IMETHODIMP nsSHEntry::SetRefreshURIList(nsISupportsArray *aRefreshURIList)
         500                 : {
         501                 :     return NS_ERROR_NOT_IMPLEMENTED;
         502                 : }
         503                 :
         504                 : /* void syncPresentationState (); */
         505                 : NS_IMETHODIMP nsSHEntry::SyncPresentationState()
         506                 : {
         507                 :     return NS_ERROR_NOT_IMPLEMENTED;
         508                 : }
         509                 :
         510                 : /* void setTitle (in AString aTitle); */
         511                 : NS_IMETHODIMP nsSHEntry::SetTitle(const nsAString & aTitle)
         512                 : {
         513                 :     return NS_ERROR_NOT_IMPLEMENTED;
         514                 : }
         515                 :
         516                 : /* attribute nsIInputStream postData; */
         517                 : NS_IMETHODIMP nsSHEntry::GetPostData(nsIInputStream * *aPostData)
         518                 : {
         519                 :     return NS_ERROR_NOT_IMPLEMENTED;
         520                 : }
         521                 : NS_IMETHODIMP nsSHEntry::SetPostData(nsIInputStream *aPostData)
         522                 : {
         523                 :     return NS_ERROR_NOT_IMPLEMENTED;
         524                 : }
         525                 :
         526                 : /* attribute nsILayoutHistoryState layoutHistoryState; */
         527                 : NS_IMETHODIMP nsSHEntry::GetLayoutHistoryState(nsILayoutHistoryState * *aLayoutHistoryState)
         528                 : {
         529                 :     return NS_ERROR_NOT_IMPLEMENTED;
         530                 : }
         531                 : NS_IMETHODIMP nsSHEntry::SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState)
         532                 : {
         533                 :     return NS_ERROR_NOT_IMPLEMENTED;
         534                 : }
         535                 :
         536                 : /* attribute nsISHEntry parent; */
         537                 : NS_IMETHODIMP nsSHEntry::GetParent(nsISHEntry * *aParent)
         538                 : {
         539                 :     return NS_ERROR_NOT_IMPLEMENTED;
         540                 : }
         541                 : NS_IMETHODIMP nsSHEntry::SetParent(nsISHEntry *aParent)
         542                 : {
         543                 :     return NS_ERROR_NOT_IMPLEMENTED;
         544                 : }
         545                 :
         546                 : /* attribute unsigned long loadType; */
         547                 : NS_IMETHODIMP nsSHEntry::GetLoadType(PRUint32 *aLoadType)
         548                 : {
         549                 :     return NS_ERROR_NOT_IMPLEMENTED;
         550                 : }
         551                 : NS_IMETHODIMP nsSHEntry::SetLoadType(PRUint32 aLoadType)
         552                 : {
         553                 :     return NS_ERROR_NOT_IMPLEMENTED;
         554                 : }
         555                 :
         556                 : /* attribute unsigned long ID; */
         557                 : NS_IMETHODIMP nsSHEntry::GetID(PRUint32 *aID)
         558                 : {
         559                 :     return NS_ERROR_NOT_IMPLEMENTED;
         560                 : }
         561                 : NS_IMETHODIMP nsSHEntry::SetID(PRUint32 aID)
         562                 : {
         563                 :     return NS_ERROR_NOT_IMPLEMENTED;
         564                 : }
         565                 :
         566                 : /* attribute nsISupports cacheKey; */
         567                 : NS_IMETHODIMP nsSHEntry::GetCacheKey(nsISupports * *aCacheKey)
         568                 : {
         569                 :     return NS_ERROR_NOT_IMPLEMENTED;
         570                 : }
         571                 : NS_IMETHODIMP nsSHEntry::SetCacheKey(nsISupports *aCacheKey)
         572                 : {
         573                 :     return NS_ERROR_NOT_IMPLEMENTED;
         574                 : }
         575                 :
         576                 : /* attribute boolean saveLayoutStateFlag; */
         577                 : NS_IMETHODIMP nsSHEntry::GetSaveLayoutStateFlag(bool *aSaveLayoutStateFlag)
         578                 : {
         579                 :     return NS_ERROR_NOT_IMPLEMENTED;
         580                 : }
         581                 : NS_IMETHODIMP nsSHEntry::SetSaveLayoutStateFlag(bool aSaveLayoutStateFlag)
         582                 : {
         583                 :     return NS_ERROR_NOT_IMPLEMENTED;
         584                 : }
         585                 :
         586                 : /* attribute boolean expirationStatus; */
         587                 : NS_IMETHODIMP nsSHEntry::GetExpirationStatus(bool *aExpirationStatus)
         588                 : {
         589                 :     return NS_ERROR_NOT_IMPLEMENTED;
         590                 : }
         591                 : NS_IMETHODIMP nsSHEntry::SetExpirationStatus(bool aExpirationStatus)
         592                 : {
         593                 :     return NS_ERROR_NOT_IMPLEMENTED;
         594                 : }
         595                 :
         596                 : /* attribute ACString contentType; */
         597                 : NS_IMETHODIMP nsSHEntry::GetContentType(nsACString & aContentType)
         598                 : {
         599                 :     return NS_ERROR_NOT_IMPLEMENTED;
         600                 : }
         601                 : NS_IMETHODIMP nsSHEntry::SetContentType(const nsACString & aContentType)
         602                 : {
         603                 :     return NS_ERROR_NOT_IMPLEMENTED;
         604                 : }
         605                 :
         606                 : /* attribute boolean URIWasModified; */
         607                 : NS_IMETHODIMP nsSHEntry::GetURIWasModified(bool *aURIWasModified)
         608                 : {
         609                 :     return NS_ERROR_NOT_IMPLEMENTED;
         610                 : }
         611                 : NS_IMETHODIMP nsSHEntry::SetURIWasModified(bool aURIWasModified)
         612                 : {
         613                 :     return NS_ERROR_NOT_IMPLEMENTED;
         614                 : }
         615                 :
         616                 : /* void setScrollPosition (in long x, in long y); */
         617                 : NS_IMETHODIMP nsSHEntry::SetScrollPosition(PRInt32 x, PRInt32 y)
         618                 : {
         619                 :     return NS_ERROR_NOT_IMPLEMENTED;
         620                 : }
         621                 :
         622                 : /* void getScrollPosition (out long x, out long y); */
         623                 : NS_IMETHODIMP nsSHEntry::GetScrollPosition(PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM)
         624                 : {
         625                 :     return NS_ERROR_NOT_IMPLEMENTED;
         626                 : }
         627                 :
         628                 : /* [noscript] void create (in nsIURI URI, in AString title, in nsIInputStream inputStream, in nsILayoutHistoryState layoutHistoryState, in nsISupports cacheKey, in ACString contentType, in nsISupports owner, in unsigned long long docshellID, in boolean dynamicCreation); */
         629                 : NS_IMETHODIMP nsSHEntry::Create(nsIURI *URI, const nsAString & title, nsIInputStream *inputStream, nsILayoutHistoryState *layoutHistoryState, nsISupports *cacheKey, const nsACString & contentType, nsISupports *owner, PRUint64 docshellID, bool dynamicCreation)
         630                 : {
         631                 :     return NS_ERROR_NOT_IMPLEMENTED;
         632                 : }
         633                 :
         634                 : /* nsISHEntry clone (); */
         635                 : NS_IMETHODIMP nsSHEntry::Clone(nsISHEntry * *_retval NS_OUTPARAM)
         636                 : {
         637                 :     return NS_ERROR_NOT_IMPLEMENTED;
         638                 : }
         639                 :
         640                 : /* void setIsSubFrame (in boolean aFlag); */
         641                 : NS_IMETHODIMP nsSHEntry::SetIsSubFrame(bool aFlag)
         642                 : {
         643                 :     return NS_ERROR_NOT_IMPLEMENTED;
         644                 : }
         645                 :
         646                 : /* nsIContentViewer getAnyContentViewer (out nsISHEntry ownerEntry); */
         647                 : NS_IMETHODIMP nsSHEntry::GetAnyContentViewer(nsISHEntry * *ownerEntry NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM)
         648                 : {
         649                 :     return NS_ERROR_NOT_IMPLEMENTED;
         650                 : }
         651                 :
         652                 : /* attribute nsISupports owner; */
         653                 : NS_IMETHODIMP nsSHEntry::GetOwner(nsISupports * *aOwner)
         654                 : {
         655                 :     return NS_ERROR_NOT_IMPLEMENTED;
         656                 : }
         657                 : NS_IMETHODIMP nsSHEntry::SetOwner(nsISupports *aOwner)
         658                 : {
         659                 :     return NS_ERROR_NOT_IMPLEMENTED;
         660                 : }
         661                 :
         662                 : /* attribute nsIStructuredCloneContainer stateData; */
         663                 : NS_IMETHODIMP nsSHEntry::GetStateData(nsIStructuredCloneContainer * *aStateData)
         664                 : {
         665                 :     return NS_ERROR_NOT_IMPLEMENTED;
         666                 : }
         667                 : NS_IMETHODIMP nsSHEntry::SetStateData(nsIStructuredCloneContainer *aStateData)
         668                 : {
         669                 :     return NS_ERROR_NOT_IMPLEMENTED;
         670                 : }
         671                 :
         672                 : /* [noscript,notxpcom] nsDocShellEditorDataPtr forgetEditorData (); */
         673                 : NS_IMETHODIMP_(nsDocShellEditorData *) nsSHEntry::ForgetEditorData()
         674                 : {
         675                 :     return NS_ERROR_NOT_IMPLEMENTED;
         676                 : }
         677                 :
         678                 : /* [noscript,notxpcom] void setEditorData (in nsDocShellEditorDataPtr aData); */
         679                 : NS_IMETHODIMP_(void) nsSHEntry::SetEditorData(nsDocShellEditorData *aData)
         680                 : {
         681                 :     return NS_ERROR_NOT_IMPLEMENTED;
         682                 : }
         683                 :
         684                 : /* [noscript,notxpcom] boolean hasDetachedEditor (); */
         685                 : NS_IMETHODIMP_(bool) nsSHEntry::HasDetachedEditor()
         686                 : {
         687                 :     return NS_ERROR_NOT_IMPLEMENTED;
         688                 : }
         689                 :
         690                 : /* boolean isDynamicallyAdded (); */
         691                 : NS_IMETHODIMP nsSHEntry::IsDynamicallyAdded(bool *_retval NS_OUTPARAM)
         692                 : {
         693                 :     return NS_ERROR_NOT_IMPLEMENTED;
         694                 : }
         695                 :
         696                 : /* boolean hasDynamicallyAddedChild (); */
         697                 : NS_IMETHODIMP nsSHEntry::HasDynamicallyAddedChild(bool *_retval NS_OUTPARAM)
         698                 : {
         699                 :     return NS_ERROR_NOT_IMPLEMENTED;
         700                 : }
         701                 :
         702                 : /* attribute unsigned long long docshellID; */
         703                 : NS_IMETHODIMP nsSHEntry::GetDocshellID(PRUint64 *aDocshellID)
         704                 : {
         705                 :     return NS_ERROR_NOT_IMPLEMENTED;
         706                 : }
         707                 : NS_IMETHODIMP nsSHEntry::SetDocshellID(PRUint64 aDocshellID)
         708                 : {
         709                 :     return NS_ERROR_NOT_IMPLEMENTED;
         710                 : }
         711                 :
         712                 : /* readonly attribute nsIBFCacheEntry BFCacheEntry; */
         713                 : NS_IMETHODIMP nsSHEntry::GetBFCacheEntry(nsIBFCacheEntry * *aBFCacheEntry)
         714                 : {
         715                 :     return NS_ERROR_NOT_IMPLEMENTED;
         716                 : }
         717                 :
         718                 : /* [noscript,notxpcom] boolean hasBFCacheEntry (in nsIBFCacheEntry aEntry); */
         719                 : NS_IMETHODIMP_(bool) nsSHEntry::HasBFCacheEntry(nsIBFCacheEntry *aEntry)
         720                 : {
         721                 :     return NS_ERROR_NOT_IMPLEMENTED;
         722                 : }
         723                 :
         724                 : /* void adoptBFCacheEntry (in nsISHEntry aEntry); */
         725                 : NS_IMETHODIMP nsSHEntry::AdoptBFCacheEntry(nsISHEntry *aEntry)
         726                 : {
         727                 :     return NS_ERROR_NOT_IMPLEMENTED;
         728                 : }
         729                 :
         730                 : /* void abandonBFCacheEntry (); */
         731                 : NS_IMETHODIMP nsSHEntry::AbandonBFCacheEntry()
         732                 : {
         733                 :     return NS_ERROR_NOT_IMPLEMENTED;
         734                 : }
         735                 :
         736                 : /* boolean sharesDocumentWith (in nsISHEntry aEntry); */
         737                 : NS_IMETHODIMP nsSHEntry::SharesDocumentWith(nsISHEntry *aEntry, bool *_retval NS_OUTPARAM)
         738                 : {
         739                 :     return NS_ERROR_NOT_IMPLEMENTED;
         740                 : }
         741                 :
         742                 : /* End of implementation class template. */
         743                 : #endif
         744                 :
         745                 :
         746                 : /* starting interface:    nsISHEntryInternal */
         747                 : #define NS_ISHENTRYINTERNAL_IID_STR "bb66ac35-253b-471f-a317-3ece940f04c5"
         748                 :
         749                 : #define NS_ISHENTRYINTERNAL_IID \
         750                 :   {0xbb66ac35, 0x253b, 0x471f, \
         751                 :     { 0xa3, 0x17, 0x3e, 0xce, 0x94, 0x0f, 0x04, 0xc5 }}
         752                 :
         753               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISHEntryInternal : public nsISupports {
         754                 :  public:
         755                 :
         756                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISHENTRYINTERNAL_IID)
         757                 :
         758                 :   /* [notxpcom] void RemoveFromBFCacheAsync (); */
         759                 :   NS_IMETHOD_(void) RemoveFromBFCacheAsync(void) = 0;
         760                 :
         761                 :   /* [notxpcom] void RemoveFromBFCacheSync (); */
         762                 :   NS_IMETHOD_(void) RemoveFromBFCacheSync(void) = 0;
         763                 :
         764                 :   /* attribute unsigned long lastTouched; */
         765                 :   NS_SCRIPTABLE NS_IMETHOD GetLastTouched(PRUint32 *aLastTouched) = 0;
         766                 :   NS_SCRIPTABLE NS_IMETHOD SetLastTouched(PRUint32 aLastTouched) = 0;
         767                 :
         768                 :   /* [noscript,notxpcom] nsSHEntryShared getSharedState (); */
         769                 :   NS_IMETHOD_(nsSHEntryShared *) GetSharedState(void) = 0;
         770                 :
         771                 : };
         772                 :
         773                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISHEntryInternal, NS_ISHENTRYINTERNAL_IID)
         774                 :
         775                 : /* Use this macro when declaring classes that implement this interface. */
         776                 : #define NS_DECL_NSISHENTRYINTERNAL \
         777                 :   NS_IMETHOD_(void) RemoveFromBFCacheAsync(void); \
         778                 :   NS_IMETHOD_(void) RemoveFromBFCacheSync(void); \
         779                 :   NS_SCRIPTABLE NS_IMETHOD GetLastTouched(PRUint32 *aLastTouched); \
         780                 :   NS_SCRIPTABLE NS_IMETHOD SetLastTouched(PRUint32 aLastTouched); \
         781                 :   NS_IMETHOD_(nsSHEntryShared *) GetSharedState(void);
         782                 :
         783                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         784                 : #define NS_FORWARD_NSISHENTRYINTERNAL(_to) \
         785                 :   NS_IMETHOD_(void) RemoveFromBFCacheAsync(void) { return _to RemoveFromBFCacheAsync(); } \
         786                 :   NS_IMETHOD_(void) RemoveFromBFCacheSync(void) { return _to RemoveFromBFCacheSync(); } \
         787                 :   NS_SCRIPTABLE NS_IMETHOD GetLastTouched(PRUint32 *aLastTouched) { return _to GetLastTouched(aLastTouched); } \
         788                 :   NS_SCRIPTABLE NS_IMETHOD SetLastTouched(PRUint32 aLastTouched) { return _to SetLastTouched(aLastTouched); } \
         789                 :   NS_IMETHOD_(nsSHEntryShared *) GetSharedState(void) { return _to GetSharedState(); }
         790                 :
         791                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         792                 : #define NS_FORWARD_SAFE_NSISHENTRYINTERNAL(_to) \
         793                 :   NS_IMETHOD_(void) RemoveFromBFCacheAsync(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheAsync(); } \
         794                 :   NS_IMETHOD_(void) RemoveFromBFCacheSync(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheSync(); } \
         795                 :   NS_SCRIPTABLE NS_IMETHOD GetLastTouched(PRUint32 *aLastTouched) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastTouched(aLastTouched); } \
         796                 :   NS_SCRIPTABLE NS_IMETHOD SetLastTouched(PRUint32 aLastTouched) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastTouched(aLastTouched); } \
         797                 :   NS_IMETHOD_(nsSHEntryShared *) GetSharedState(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSharedState(); }
         798                 :
         799                 : #if 0
         800                 : /* Use the code below as a template for the implementation class for this interface. */
         801                 :
         802                 : /* Header file */
         803                 : class nsSHEntryInternal : public nsISHEntryInternal
         804                 : {
         805                 : public:
         806                 :   NS_DECL_ISUPPORTS
         807                 :   NS_DECL_NSISHENTRYINTERNAL
         808                 :
         809                 :   nsSHEntryInternal();
         810                 :
         811                 : private:
         812                 :   ~nsSHEntryInternal();
         813                 :
         814                 : protected:
         815                 :   /* additional members */
         816                 : };
         817                 :
         818                 : /* Implementation file */
         819                 : NS_IMPL_ISUPPORTS1(nsSHEntryInternal, nsISHEntryInternal)
         820                 :
         821                 : nsSHEntryInternal::nsSHEntryInternal()
         822                 : {
         823                 :   /* member initializers and constructor code */
         824                 : }
         825                 :
         826                 : nsSHEntryInternal::~nsSHEntryInternal()
         827                 : {
         828                 :   /* destructor code */
         829                 : }
         830                 :
         831                 : /* [notxpcom] void RemoveFromBFCacheAsync (); */
         832                 : NS_IMETHODIMP_(void) nsSHEntryInternal::RemoveFromBFCacheAsync()
         833                 : {
         834                 :     return NS_ERROR_NOT_IMPLEMENTED;
         835                 : }
         836                 :
         837                 : /* [notxpcom] void RemoveFromBFCacheSync (); */
         838                 : NS_IMETHODIMP_(void) nsSHEntryInternal::RemoveFromBFCacheSync()
         839                 : {
         840                 :     return NS_ERROR_NOT_IMPLEMENTED;
         841                 : }
         842                 :
         843                 : /* attribute unsigned long lastTouched; */
         844                 : NS_IMETHODIMP nsSHEntryInternal::GetLastTouched(PRUint32 *aLastTouched)
         845                 : {
         846                 :     return NS_ERROR_NOT_IMPLEMENTED;
         847                 : }
         848                 : NS_IMETHODIMP nsSHEntryInternal::SetLastTouched(PRUint32 aLastTouched)
         849                 : {
         850                 :     return NS_ERROR_NOT_IMPLEMENTED;
         851                 : }
         852                 :
         853                 : /* [noscript,notxpcom] nsSHEntryShared getSharedState (); */
         854                 : NS_IMETHODIMP_(nsSHEntryShared *) nsSHEntryInternal::GetSharedState()
         855                 : {
         856                 :     return NS_ERROR_NOT_IMPLEMENTED;
         857                 : }
         858                 :
         859                 : /* End of implementation class template. */
         860                 : #endif
         861                 :
         862                 : // {BFD1A791-AD9F-11d3-BDC7-0050040A9B44}
         863                 : #define NS_SHENTRY_CID \
         864                 : {0xbfd1a791, 0xad9f, 0x11d3, {0xbd, 0xc7, 0x0, 0x50, 0x4, 0xa, 0x9b, 0x44}}
         865                 : #define NS_SHENTRY_CONTRACTID \
         866                 :     "@mozilla.org/browser/session-history-entry;1"
         867                 :
         868                 : #endif /* __gen_nsISHEntry_h__ */

Generated by: LCOV version 1.7