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