Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIScriptGlobalObject Class Reference

#include <nsIScriptGlobalObject.h>

Inheritance diagram for nsIScriptGlobalObject:


List of all members.

Detailed Description

The JavaScript specific global object. This often used to store per-window global state.

Definition at line 63 of file nsIScriptGlobalObject.h.

Public Member Functions

virtual nsIScriptContextGetContext ()=0
virtual nsIDocShell * GetDocShell ()=0
virtual JSObject * GetGlobalJSObject ()=0
GetGlobalObjectOwner ()=0
virtual nsresult HandleDOMEvent (nsPresContext *aPresContext, nsEvent *aEvent, nsIDOMEvent **aDOMEvent, PRUint32 aFlags, nsEventStatus *aEventStatus)=0
virtual void OnFinalize (JSObject *aJSObject)=0
virtual void SetContext (nsIScriptContext *aContext)=0
virtual void SetDocShell (nsIDocShell *aDocShell)=0
virtual void SetGlobalObjectOwner (nsIScriptGlobalObjectOwner *aOwner)=0
virtual nsresult SetNewArguments (PRUint32 aArgc, void *aArgv)=0
virtual nsresult SetNewDocument (nsIDOMDocument *aDocument, nsISupports *aState, PRBool aRemoveEventListeners, PRBool aClearScope)=0
virtual void SetOpenerWindow (nsIDOMWindowInternal *aOpener)=0
virtual void SetScriptsEnabled (PRBool aEnabled, PRBool aFireTimeouts)=0
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index