Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions  Download package

nsIScriptGlobalObject Class Reference

#include <nsIScriptGlobalObject.h>

Inheritance diagram for nsIScriptGlobalObject:


List of all members.

Detailed Description

+ * The global object which keeps a script context for each supported script + * language. This often used to store per-window global state.

Definition at line 114 of file nsIScriptGlobalObject.h.

Public Member Functions

virtual nsresult EnsureScriptEnvironment (PRUint32 aLangID)=0
virtual nsIScriptContextGetContext ()
virtual JSObject * GetGlobalJSObject ()
virtual nsIScriptContextGetScriptContext (PRUint32 lang)=0
virtual void * GetScriptGlobal (PRUint32 lang)=0
virtual nsresult HandleScriptError (nsScriptErrorEvent *aErrorEvent, nsEventStatus *aEventStatus)
virtual void OnFinalize (PRUint32 aLangID, void *aScriptGlobal)=0
virtual nsresult SetNewArguments (nsIArray *aArguments)=0
virtual nsresult SetScriptContext (PRUint32 lang, nsIScriptContext *aContext)=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