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

nsIMutationObserver Class Reference

#include <nsIMutationObserver.h>

Inheritance diagram for nsIMutationObserver:

nsISupports nsStubMutationObserver nsStubDocumentObserver nsAttributeTextNode nsContentList nsEditor nsScriptElement nsXPathResult txMozillaXSLTProcessor

List of all members.


Detailed Description

Mutation observer interface

WARNING: During these notifications, you are not allowed to perform any mutations to the current or any other document, or start a network load. If you need to perform such operations do that during the _last_ nsIDocumentObserver::EndUpdate notification. The expection for this is ParentChainChanged, where mutations should be done from an async event, as the notification might not be surrounded by BeginUpdate/EndUpdate calls.

Definition at line 73 of file nsIMutationObserver.h.


Public Member Functions

virtual void AttributeChanged (nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID, nsIAtom *aAttribute, PRInt32 aModType, PRUint32 aStateMask)=0
virtual void CharacterDataChanged (nsIDocument *aDocument, nsIContent *aContent, CharacterDataChangeInfo *aInfo)=0
virtual void CharacterDataWillChange (nsIDocument *aDocument, nsIContent *aContent, CharacterDataChangeInfo *aInfo)=0
virtual void ContentAppended (nsIDocument *aDocument, nsIContent *aContainer, PRInt32 aNewIndexInContainer)=0
virtual void ContentInserted (nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild, PRInt32 aIndexInContainer)=0
virtual void ContentRemoved (nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild, PRInt32 aIndexInContainer)=0
virtual void NodeWillBeDestroyed (const nsINode *aNode)=0
virtual void ParentChainChanged (nsIContent *aContent)=0
Methods
 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