Back to index
|void||addWindow (in nsIDOMWindow aWindow, in nsIWebBrowserChrome aChrome)|
|A window has been created. |
|void||removeWindow (in nsIDOMWindow aWindow)|
|A window has been closed. |
|nsIDOMWindow||openWindowJS (in nsIDOMWindow aParent, in string aUrl, in string aName, in string aFeatures, in boolean aDialog, in PRUint32 argc, in jsvalptr argv)|
|Like the public interface's open(), but can deal with openDialog style arguments. |
|nsIDocShellTreeItem||findItemWithName (in wstring aName, in nsIDocShellTreeItem aRequestor, in nsIDocShellTreeItem aOriginalRequestor)|
|Find a named docshell tree item amongst all windows registered with the window watcher. |
A window has been created.
Add it to our list.
|aWindow||the window to add|
|aChrome||the corresponding chrome window. The DOM window and chrome will be mapped together, and the corresponding chrome can be retrieved using the (not private) method getChromeForWindow. If null, any extant mapping will be cleared.|
|nsIDocShellTreeItem nsPIWindowWatcher::findItemWithName||(||in wstring||aName,|
Find a named docshell tree item amongst all windows registered with the window watcher.
This may be a subframe in some window, for example.
|aName||the name of the window. Must not be null.|
|aRequestor||the tree item immediately making the request. We should make sure to not recurse down into its findItemWithName method.|
|aOriginalRequestor||the original treeitem that made the request. Used for security checks.|
|nsIDOMWindow nsPIWindowWatcher::openWindowJS||(||in nsIDOMWindow||aParent,|
Like the public interface's open(), but can deal with openDialog style arguments.
|aParent||parent window, if any. Null if no parent. If it is impossible to get to an nsIWebBrowserChrome from aParent, this method will effectively act as if aParent were null.|
|aURL||url to which to open the new window. Must already be escaped, if applicable. can be null.|
|aName||window name from JS window.open. can be null. If a window with this name already exists, the openWindow call may just load aUrl in it (if aUrl is not null) and return it.|
|aFeatures||window features from JS window.open. can be null.|
|aDialog||use dialog defaults (see nsIDOMWindowInternal::openDialog)|
|argc||count of argv arguments|
|argv||extra JS arguments, if any (see nsIDOMWindowInternal::openDialog)|
A window has been closed.
Remove it from our list.
|aWindow||the window to remove|