1 module org.eclipse.swt.internal.mozilla.nsIWebBrowser; 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.nsIWebBrowserChrome; 10 import org.eclipse.swt.internal.mozilla.nsIURIContentListener; 11 import org.eclipse.swt.internal.mozilla.nsIDOMWindow; 12 import org.eclipse.swt.internal.mozilla.nsIWeakReference; 13 14 const char[] NS_IWEBBROWSER_IID_STR = "69e5df00-7b8b-11d3-af61-00a024ffc08c"; 15 16 const nsIID NS_IWEBBROWSER_IID= 17 {0x69e5df00, 0x7b8b, 0x11d3, 18 [ 0xaf, 0x61, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]}; 19 20 interface nsIWebBrowser : nsISupports { 21 22 static const char[] IID_STR = NS_IWEBBROWSER_IID_STR; 23 static const nsIID IID = NS_IWEBBROWSER_IID; 24 25 extern(System): 26 nsresult AddWebBrowserListener(nsIWeakReference aListener, in nsIID * aIID); 27 nsresult RemoveWebBrowserListener(nsIWeakReference aListener, in nsIID * aIID); 28 nsresult GetContainerWindow(nsIWebBrowserChrome *aContainerWindow); 29 nsresult SetContainerWindow(nsIWebBrowserChrome aContainerWindow); 30 nsresult GetParentURIContentListener(nsIURIContentListener *aParentURIContentListener); 31 nsresult SetParentURIContentListener(nsIURIContentListener aParentURIContentListener); 32 nsresult GetContentDOMWindow(nsIDOMWindow *aContentDOMWindow); 33 34 } 35