This source file includes following definitions.
- m_attrChange
 
- initMutationEvent
 
- interfaceName
 
- trace
 
#include "config.h"
#include "core/events/MutationEvent.h"
namespace WebCore {
MutationEvent::MutationEvent()
    : m_attrChange(0)
{
    ScriptWrappable::init(this);
}
MutationEvent::MutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
                             const String& prevValue, const String& newValue,
                             const String& attrName, unsigned short attrChange)
    : Event(type, canBubble, cancelable)
    , m_relatedNode(relatedNode)
    , m_prevValue(prevValue)
    , m_newValue(newValue)
    , m_attrName(attrName)
    , m_attrChange(attrChange)
{
    ScriptWrappable::init(this);
}
MutationEvent::~MutationEvent()
{
}
void MutationEvent::initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
                                      const String& prevValue, const String& newValue,
                                      const String& attrName, unsigned short attrChange)
{
    if (dispatched())
        return;
    initEvent(type, canBubble, cancelable);
    m_relatedNode = relatedNode;
    m_prevValue = prevValue;
    m_newValue = newValue;
    m_attrName = attrName;
    m_attrChange = attrChange;
}
const AtomicString& MutationEvent::interfaceName() const
{
    return EventNames::MutationEvent;
}
void MutationEvent::trace(Visitor* visitor)
{
    Event::trace(visitor);
}
}