| 1 |
module dwt.internal.mozilla.nsIWindowWatcher; |
|---|
| 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.nsIDOMWindow; |
|---|
| 8 |
import dwt.internal.mozilla.nsIObserver; |
|---|
| 9 |
import dwt.internal.mozilla.nsIPrompt; |
|---|
| 10 |
import dwt.internal.mozilla.nsIAuthPrompt; |
|---|
| 11 |
import dwt.internal.mozilla.nsISimpleEnumerator; |
|---|
| 12 |
import dwt.internal.mozilla.nsIWebBrowserChrome; |
|---|
| 13 |
import dwt.internal.mozilla.nsIWindowCreator; |
|---|
| 14 |
|
|---|
| 15 |
const char[] NS_IWINDOWWATCHER_IID_STR = "002286a8-494b-43b3-8ddd-49e3fc50622b"; |
|---|
| 16 |
|
|---|
| 17 |
const nsIID NS_IWINDOWWATCHER_IID= |
|---|
| 18 |
{0x002286a8, 0x494b, 0x43b3, |
|---|
| 19 |
[ 0x8d, 0xdd, 0x49, 0xe3, 0xfc, 0x50, 0x62, 0x2b ]}; |
|---|
| 20 |
|
|---|
| 21 |
interface nsIWindowWatcher : nsISupports { |
|---|
| 22 |
|
|---|
| 23 |
static const char[] IID_STR = NS_IWINDOWWATCHER_IID_STR; |
|---|
| 24 |
static const nsIID IID = NS_IWINDOWWATCHER_IID; |
|---|
| 25 |
|
|---|
| 26 |
extern(System): |
|---|
| 27 |
nsresult OpenWindow(nsIDOMWindow aParent, char *aUrl, char *aName, char *aFeatures, nsISupports aArguments, nsIDOMWindow *_retval); |
|---|
| 28 |
nsresult RegisterNotification(nsIObserver aObserver); |
|---|
| 29 |
nsresult UnregisterNotification(nsIObserver aObserver); |
|---|
| 30 |
nsresult GetWindowEnumerator(nsISimpleEnumerator *_retval); |
|---|
| 31 |
nsresult GetNewPrompter(nsIDOMWindow aParent, nsIPrompt *_retval); |
|---|
| 32 |
nsresult GetNewAuthPrompter(nsIDOMWindow aParent, nsIAuthPrompt *_retval); |
|---|
| 33 |
nsresult SetWindowCreator(nsIWindowCreator creator); |
|---|
| 34 |
nsresult GetChromeForWindow(nsIDOMWindow aWindow, nsIWebBrowserChrome *_retval); |
|---|
| 35 |
nsresult GetWindowByName(PRUnichar *aTargetName, nsIDOMWindow aCurrentWindow, nsIDOMWindow *_retval); |
|---|
| 36 |
nsresult GetActiveWindow(nsIDOMWindow *aActiveWindow); |
|---|
| 37 |
nsresult SetActiveWindow(nsIDOMWindow aActiveWindow); |
|---|
| 38 |
|
|---|
| 39 |
} |
|---|