Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIWindowCreator2 Interface Reference

import "nsIWindowCreator2.idl";

Inheritance diagram for nsIWindowCreator2:
Inheritance graph
[legend]
Collaboration diagram for nsIWindowCreator2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in PRUint32 chromeFlags, in PRUint32 contextFlags, in nsIURI uri, out boolean cancel)
 Create a new window.
nsIWebBrowserChrome createChromeWindow (in nsIWebBrowserChrome parent, in PRUint32 chromeFlags)
 Create a new window.

Public Attributes

const unsigned long PARENT_IS_LOADING_OR_RUNNING_TIMEOUT = 0x00000001
 Definitions for contextFlags.

Detailed Description

Definition at line 57 of file nsIWindowCreator2.idl.


Member Function Documentation

Create a new window.

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

Parameters:
parentparent window, if any. null if 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).
chromeFlagschrome features from nsIWebBrowserChrome
Returns:
the new window

Create a new window.

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

Parameters:
parentParent window, if any. Null if 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).
chromeFlagsChrome features from nsIWebBrowserChrome
contextFlagsFlags about the context of the window being created.
uriThe URL for which this window is intended. It can be null or zero-length. The implementation of this interface may use the URL to help determine what sort of window to open or whether to cancel window creation. It will not load the URL.
cancelReturn |true| to reject window creation. If true the implementation has determined the window should not be created at all. The caller should not default to any possible backup scheme for creating the window.
Returns:
the new window. Will be null if canceled or an error occurred.

Member Data Documentation

Definitions for contextFlags.

Definition at line 64 of file nsIWindowCreator2.idl.


The documentation for this interface was generated from the following file: