Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIWebBrowserFocus.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIWebBrowserFocus.d Mon Mar 02 14:44:16 2009 +0100 @@ -0,0 +1,31 @@ +module org.eclipse.swt.internal.mozilla.nsIWebBrowserFocus; + +import org.eclipse.swt.internal.mozilla.Common; +import org.eclipse.swt.internal.mozilla.nsID; +import org.eclipse.swt.internal.mozilla.nsISupports; +import org.eclipse.swt.internal.mozilla.nsIDOMWindow; +import org.eclipse.swt.internal.mozilla.nsIDOMElement; + +const char[] NS_IWEBBROWSERFOCUS_IID_STR = "9c5d3c58-1dd1-11b2-a1c9-f3699284657a"; + +const nsIID NS_IWEBBROWSERFOCUS_IID= + {0x9c5d3c58, 0x1dd1, 0x11b2, + [ 0xa1, 0xc9, 0xf3, 0x69, 0x92, 0x84, 0x65, 0x7a ]}; + +interface nsIWebBrowserFocus : nsISupports { + + static const char[] IID_STR = NS_IWEBBROWSERFOCUS_IID_STR; + static const nsIID IID = NS_IWEBBROWSERFOCUS_IID; + +extern(System): + nsresult Activate(); + nsresult Deactivate(); + nsresult SetFocusAtFirstElement(); + nsresult SetFocusAtLastElement(); + nsresult GetFocusedWindow(nsIDOMWindow *aFocusedWindow); + nsresult SetFocusedWindow(nsIDOMWindow aFocusedWindow); + nsresult GetFocusedElement(nsIDOMElement *aFocusedElement); + nsresult SetFocusedElement(nsIDOMElement aFocusedElement); + +} +