nsIWindowCreator

A callback interface used by Gecko to create new browser windows. The application, either Mozilla or an embedding app, must provide an implementation of the Window Watcher component and notify the WindowWatcher during application initialization.
Inherits from: nsISupports Last changed in Gecko 0.9.6

Method overview

nsIWebBrowserChrome createChromeWindow(in nsIWebBrowserChrome parent, in PRUint32 chromeFlags);

Methods

createChromeWindow()

Create a new window. Gecko will/may call this method, if made available to it, to create new windows.

nsIWebBrowserChrome createChromeWindow(
  in nsIWebBrowserChrome parent,
  in PRUint32 chromeFlags
);
Parameters
parent
The nsIWebBrowserChrome of the parent window, if any. null if no parent exists. 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).
chromeFlags
Chrome features from nsIWebBrowserChrome.
Return value

An nsIWebBrowserChrome for the new window.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Wjjohnst
 Last updated by: Sheppy,