45
|
1 module dwt.internal.mozilla.nsIWebBrowserFocus;
|
|
2
|
125
|
3 import dwt.internal.mozilla.Common;
|
|
4 import dwt.internal.mozilla.nsID;
|
|
5 import dwt.internal.mozilla.nsISupports;
|
|
6 import dwt.internal.mozilla.nsIDOMWindow;
|
|
7 import dwt.internal.mozilla.nsIDOMElement;
|
45
|
8
|
125
|
9 const char[] NS_IWEBBROWSERFOCUS_IID_STR = "9c5d3c58-1dd1-11b2-a1c9-f3699284657a";
|
45
|
10
|
125
|
11 const nsIID NS_IWEBBROWSERFOCUS_IID=
|
|
12 {0x9c5d3c58, 0x1dd1, 0x11b2,
|
|
13 [ 0xa1, 0xc9, 0xf3, 0x69, 0x92, 0x84, 0x65, 0x7a ]};
|
45
|
14
|
125
|
15 interface nsIWebBrowserFocus : nsISupports {
|
45
|
16
|
125
|
17 static const char[] IID_STR = NS_IWEBBROWSERFOCUS_IID_STR;
|
|
18 static const nsIID IID = NS_IWEBBROWSERFOCUS_IID;
|
45
|
19
|
125
|
20 extern(System):
|
|
21 nsresult Activate();
|
|
22 nsresult Deactivate();
|
|
23 nsresult SetFocusAtFirstElement();
|
|
24 nsresult SetFocusAtLastElement();
|
|
25 nsresult GetFocusedWindow(nsIDOMWindow *aFocusedWindow);
|
|
26 nsresult SetFocusedWindow(nsIDOMWindow aFocusedWindow);
|
|
27 nsresult GetFocusedElement(nsIDOMElement *aFocusedElement);
|
|
28 nsresult SetFocusedElement(nsIDOMElement aFocusedElement);
|
45
|
29
|
125
|
30 }
|
45
|
31
|