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