
nsIWindowCreator
This is a embedder-provided callback interface used by Gecko to create new browser windows in certain specific circumstances, like in utilizing PSM. A WindowWatcher component must also be available, and must be notified of the
nsIWindowCreatorduring application initialization. This interface is not scriptable.See also:
nsIWindowWatcherCreates a new window. Gecko will/may call this method, if made available to it, to create new windows.
Syntax:
nsIWebBrowserChrome nsIWindowCreator::createChromeWindow( in nsIWebBrowserChrome parent, in PRUint32 chromeFlags)Parameters:
parent:The parent window, if one exists, ornullif not. The newly created window should be made a child/dependent window of the parent, if any (and if the concept applies to the underlying OS).
Returns:
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |