Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsScriptLoadRequest Class Reference
Inheritance diagram for nsScriptLoadRequest:
Inheritance graph
[legend]
Collaboration diagram for nsScriptLoadRequest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsScriptLoadRequest (nsIScriptElement *aElement, nsIScriptLoaderObserver *aObserver, const char *aVersionString, PRBool aHasE4XOption)
virtual ~nsScriptLoadRequest ()
NS_DECL_ISUPPORTS void FireScriptAvailable (nsresult aResult, const nsAFlatString &aScript)
void FireScriptEvaluated (nsresult aResult)

Public Attributes

nsCOMPtr< nsIScriptElementmElement
nsCOMPtr< nsIScriptLoaderObservermObserver
PRPackedBool mLoading
PRPackedBool mWasPending
PRPackedBool mIsInline
PRPackedBool mHasE4XOption
nsString mScriptText
const char * mJSVersion
nsCOMPtr< nsIURImURI
PRInt32 mLineNo

Detailed Description

Definition at line 73 of file nsScriptLoader.cpp.


Constructor & Destructor Documentation

nsScriptLoadRequest::nsScriptLoadRequest ( nsIScriptElement aElement,
nsIScriptLoaderObserver aObserver,
const char *  aVersionString,
PRBool  aHasE4XOption 
)

Definition at line 99 of file nsScriptLoader.cpp.

                                                               :
  mElement(aElement), mObserver(aObserver),
  mLoading(PR_TRUE), mWasPending(PR_FALSE),
  mIsInline(PR_TRUE), mHasE4XOption(aHasE4XOption),
  mJSVersion(aVersionString), mLineNo(1)
{
}

Definition at line 110 of file nsScriptLoader.cpp.

{
}

Member Function Documentation

Definition at line 122 of file nsScriptLoader.cpp.

{
  if (mObserver) {
    mObserver->ScriptAvailable(aResult, mElement, mIsInline, mWasPending,
                               mURI, mLineNo,
                               aScript);
  }
}

Here is the caller graph for this function:

Definition at line 133 of file nsScriptLoader.cpp.

{
  if (mObserver) {
    mObserver->ScriptEvaluated(aResult, mElement, mIsInline, mWasPending);
  }
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 87 of file nsScriptLoader.cpp.

Definition at line 92 of file nsScriptLoader.cpp.

Definition at line 91 of file nsScriptLoader.cpp.

Definition at line 94 of file nsScriptLoader.cpp.

Definition at line 96 of file nsScriptLoader.cpp.

Definition at line 89 of file nsScriptLoader.cpp.

Definition at line 88 of file nsScriptLoader.cpp.

Definition at line 93 of file nsScriptLoader.cpp.

Definition at line 95 of file nsScriptLoader.cpp.

Definition at line 90 of file nsScriptLoader.cpp.


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