Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDocument_MOZILLA_1_8_BRANCH3 Class Reference

#include <nsIDocument.h>

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

List of all members.

Public Member Functions

virtual nsIScriptGlobalObjectGetScriptHandlingObject (PRBool &aHasHadScriptHandlingObject) const =0
 Get/set the object from which the context for the event/script handling can be got.
virtual void SetScriptHandlingObject (nsIScriptGlobalObject *aScriptObject)=0

Detailed Description

Definition at line 917 of file nsIDocument.h.


Member Function Documentation

virtual nsIScriptGlobalObject* nsIDocument_MOZILLA_1_8_BRANCH3::GetScriptHandlingObject ( PRBool aHasHadScriptHandlingObject) const [pure virtual]

Get/set the object from which the context for the event/script handling can be got.

Normally GetScriptHandlingObject() returns the same object as GetScriptGlobalObject(), but if the document is loaded as data, non-null may be returned, even if GetScriptGlobalObject() returns null. aHasHadScriptHandlingObject is set PR_TRUE if document has had the object for event/script handling. Do not process any events/script if the method returns null, but aHasHadScriptHandlingObject is true.

Implemented in nsDocument.

Implemented in nsDocument.


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