|
Revision 327:b0d7eb5bd76c, 1.0 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsIWebBrowserFocus; |
|---|
| 2 |
|
|---|
| 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; |
|---|
| 8 |
|
|---|
| 9 |
const char[] NS_IWEBBROWSERFOCUS_IID_STR = "9c5d3c58-1dd1-11b2-a1c9-f3699284657a"; |
|---|
| 10 |
|
|---|
| 11 |
const nsIID NS_IWEBBROWSERFOCUS_IID= |
|---|
| 12 |
{0x9c5d3c58, 0x1dd1, 0x11b2, |
|---|
| 13 |
[ 0xa1, 0xc9, 0xf3, 0x69, 0x92, 0x84, 0x65, 0x7a ]}; |
|---|
| 14 |
|
|---|
| 15 |
interface nsIWebBrowserFocus : nsISupports { |
|---|
| 16 |
|
|---|
| 17 |
static const char[] IID_STR = NS_IWEBBROWSERFOCUS_IID_STR; |
|---|
| 18 |
static const nsIID IID = NS_IWEBBROWSERFOCUS_IID; |
|---|
| 19 |
|
|---|
| 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); |
|---|
| 29 |
|
|---|
| 30 |
} |
|---|