comparison dwt/internal/mozilla/nsIWebBrowser.d @ 327:b0d7eb5bd76c

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author John Reimer <terminal.node@gmail.com>
date Fri, 02 Jan 2009 17:45:10 -0800
parents
children
comparison
equal deleted inserted replaced
326:e4d29367b1fa 327:b0d7eb5bd76c
1 module dwt.internal.mozilla.nsIWebBrowser;
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.nsIWebBrowserChrome;
8 import dwt.internal.mozilla.nsIURIContentListener;
9 import dwt.internal.mozilla.nsIDOMWindow;
10 import dwt.internal.mozilla.nsIWeakReference;
11
12 const char[] NS_IWEBBROWSER_IID_STR = "69e5df00-7b8b-11d3-af61-00a024ffc08c";
13
14 const nsIID NS_IWEBBROWSER_IID=
15 {0x69e5df00, 0x7b8b, 0x11d3,
16 [ 0xaf, 0x61, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]};
17
18 interface nsIWebBrowser : nsISupports {
19
20 static const char[] IID_STR = NS_IWEBBROWSER_IID_STR;
21 static const nsIID IID = NS_IWEBBROWSER_IID;
22
23 extern(System):
24 nsresult AddWebBrowserListener(nsIWeakReference aListener, nsIID * aIID);
25 nsresult RemoveWebBrowserListener(nsIWeakReference aListener, nsIID * aIID);
26 nsresult GetContainerWindow(nsIWebBrowserChrome *aContainerWindow);
27 nsresult SetContainerWindow(nsIWebBrowserChrome aContainerWindow);
28 nsresult GetParentURIContentListener(nsIURIContentListener *aParentURIContentListener);
29 nsresult SetParentURIContentListener(nsIURIContentListener aParentURIContentListener);
30 nsresult GetContentDOMWindow(nsIDOMWindow *aContentDOMWindow);
31
32 }
33