Mercurial > projects > dwt-linux
diff dwt/internal/mozilla.old/nsIWebBrowser.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla.old/nsIWebBrowser.d Tue Aug 05 18:00:50 2008 -0700 @@ -0,0 +1,34 @@ +module dwt.internal.mozilla.nsIWebBrowser; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; +import dwt.internal.mozilla.nsISupports; + +import dwt.internal.mozilla.nsIWebBrowserChrome; +import dwt.internal.mozilla.nsIURIContentListener; +import dwt.internal.mozilla.nsIDOMWindow; +import dwt.internal.mozilla.nsIWeakReference; + +const char[] NS_IWEBBROWSER_IID_STR = "69e5df00-7b8b-11d3-af61-00a024ffc08c"; + +const nsIID NS_IWEBBROWSER_IID= + {0x69e5df00, 0x7b8b, 0x11d3, + [ 0xaf, 0x61, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]}; + +extern(System) + +interface nsIWebBrowser : nsISupports { + + static const char[] IID_STR = NS_IWEBBROWSER_IID_STR; + static const nsIID IID = NS_IWEBBROWSER_IID; + + nsresult AddWebBrowserListener(nsIWeakReference aListener, nsIID * aIID); + nsresult RemoveWebBrowserListener(nsIWeakReference aListener, nsIID * aIID); + nsresult GetContainerWindow(nsIWebBrowserChrome *aContainerWindow); + nsresult SetContainerWindow(nsIWebBrowserChrome aContainerWindow); + nsresult GetParentURIContentListener(nsIURIContentListener *aParentURIContentListener); + nsresult SetParentURIContentListener(nsIURIContentListener aParentURIContentListener); + nsresult GetContentDOMWindow(nsIDOMWindow *aContentDOMWindow); + +} +