root/dwt/internal/mozilla/nsISHEntry.d

Revision 327:b0d7eb5bd76c, 3.1 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
1 module dwt.internal.mozilla.nsISHEntry;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 import dwt.internal.mozilla.nsIHistoryEntry;
8 import dwt.internal.mozilla.nsIContentViewer;
9 import dwt.internal.mozilla.nsIURI;
10 import dwt.internal.mozilla.nsIInputStream;
11 import dwt.internal.mozilla.nsIDocShellTreeItem;
12 import dwt.internal.mozilla.nsISupportsArray;
13 import dwt.internal.mozilla.nsStringAPI;
14
15 const char[] NS_ISHENTRY_IID_STR = "542a98b9-2889-4922-aaf4-02b6056f4136";
16
17 const nsIID NS_ISHENTRY_IID=
18   {0x542a98b9, 0x2889, 0x4922,
19     [ 0xaa, 0xf4, 0x02, 0xb6, 0x05, 0x6f, 0x41, 0x36 ]};
20
21 interface nsISHEntry : nsIHistoryEntry {
22
23   static const char[] IID_STR = NS_ISHENTRY_IID_STR;
24   static const nsIID IID = NS_ISHENTRY_IID;
25
26 extern(System):
27   nsresult SetURI(nsIURI aURI);
28   nsresult GetReferrerURI(nsIURI  *aReferrerURI);
29   nsresult SetReferrerURI(nsIURI  aReferrerURI);
30   nsresult GetContentViewer(nsIContentViewer  *aContentViewer);
31   nsresult SetContentViewer(nsIContentViewer  aContentViewer);
32   nsresult GetSticky(PRBool *aSticky);
33   nsresult SetSticky(PRBool aSticky);
34   nsresult GetWindowState(nsISupports  *aWindowState);
35   nsresult SetWindowState(nsISupports  aWindowState);
36   nsresult GetViewerBounds(nsRect * bounds);
37   nsresult SetViewerBounds(nsRect * bounds);
38   nsresult AddChildShell(nsIDocShellTreeItem shell);
39   nsresult ChildShellAt(PRInt32 index, nsIDocShellTreeItem *_retval);
40   nsresult ClearChildShells();
41   nsresult GetRefreshURIList(nsISupportsArray  *aRefreshURIList);
42   nsresult SetRefreshURIList(nsISupportsArray  aRefreshURIList);
43   nsresult SyncPresentationState();
44   nsresult SetTitle(nsAString * aTitle);
45   nsresult GetPostData(nsIInputStream  *aPostData);
46   nsresult SetPostData(nsIInputStream  aPostData);
47   nsresult GetLayoutHistoryState(nsILayoutHistoryState  *aLayoutHistoryState);
48   nsresult SetLayoutHistoryState(nsILayoutHistoryState  aLayoutHistoryState);
49   nsresult GetParent(nsISHEntry  *aParent);
50   nsresult SetParent(nsISHEntry  aParent);
51   nsresult GetLoadType(PRUint32 *aLoadType);
52   nsresult SetLoadType(PRUint32 aLoadType);
53   nsresult GetID(PRUint32 *aID);
54   nsresult SetID(PRUint32 aID);
55   nsresult GetPageIdentifier(PRUint32 *aPageIdentifier);
56   nsresult SetPageIdentifier(PRUint32 aPageIdentifier);
57   nsresult GetCacheKey(nsISupports  *aCacheKey);
58   nsresult SetCacheKey(nsISupports  aCacheKey);
59   nsresult GetSaveLayoutStateFlag(PRBool *aSaveLayoutStateFlag);
60   nsresult SetSaveLayoutStateFlag(PRBool aSaveLayoutStateFlag);
61   nsresult GetExpirationStatus(PRBool *aExpirationStatus);
62   nsresult SetExpirationStatus(PRBool aExpirationStatus);
63   nsresult GetContentType(nsACString * aContentType);
64   nsresult SetContentType(nsACString * aContentType);
65   nsresult SetScrollPosition(PRInt32 x, PRInt32 y);
66   nsresult GetScrollPosition(PRInt32 *x, PRInt32 *y);
67   nsresult Create(nsIURI URI, nsAString * title, nsIInputStream inputStream, nsILayoutHistoryState layoutHistoryState, nsISupports cacheKey, nsACString * contentType);
68   nsresult Clone(nsISHEntry *_retval);
69   nsresult SetIsSubFrame(PRBool aFlag);
70   nsresult GetAnyContentViewer(nsISHEntry *ownerEntry, nsIContentViewer *_retval);
71
72 }
Note: See TracBrowser for help on using the browser.