Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIWindowCreator2.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/nsIWindowCreator2.d Mon Mar 02 14:44:16 2009 +0100 @@ -0,0 +1,26 @@ +module org.eclipse.swt.internal.mozilla.nsIWindowCreator2; + +import org.eclipse.swt.internal.mozilla.Common; +import org.eclipse.swt.internal.mozilla.nsID; + +import org.eclipse.swt.internal.mozilla.nsIWindowCreator; +import org.eclipse.swt.internal.mozilla.nsIURI; +import org.eclipse.swt.internal.mozilla.nsIWebBrowserChrome; + +const char[] NS_IWINDOWCREATOR2_IID_STR = "f673ec81-a4b0-11d6-964b-eb5a2bf216fc"; + +const nsIID NS_IWINDOWCREATOR2_IID= + {0xf673ec81, 0xa4b0, 0x11d6, + [ 0x96, 0x4b, 0xeb, 0x5a, 0x2b, 0xf2, 0x16, 0xfc ]}; + +interface nsIWindowCreator2 : nsIWindowCreator { + + static const char[] IID_STR = NS_IWINDOWCREATOR2_IID_STR; + static const nsIID IID = NS_IWINDOWCREATOR2_IID; + +extern(System): + enum { PARENT_IS_LOADING_OR_RUNNING_TIMEOUT = 1U }; + nsresult CreateChromeWindow2(nsIWebBrowserChrome parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI uri, PRBool *cancel, nsIWebBrowserChrome *_retval); + +} +