This source file includes following definitions.
- create
- create
- create
- m_tone
- m_tone
- tone
- interfaceName
- trace
#include "config.h"
#include "modules/mediastream/RTCDTMFToneChangeEvent.h"
namespace WebCore {
PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create()
{
return adoptRefWillBeNoop(new RTCDTMFToneChangeEvent);
}
PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const String& tone)
{
return adoptRefWillBeNoop(new RTCDTMFToneChangeEvent(tone));
}
PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const AtomicString& type, const RTCDTMFToneChangeEventInit& initializer)
{
ASSERT(type == EventTypeNames::tonechange);
return adoptRefWillBeNoop(new RTCDTMFToneChangeEvent(initializer));
}
RTCDTMFToneChangeEvent::RTCDTMFToneChangeEvent()
{
ScriptWrappable::init(this);
}
RTCDTMFToneChangeEvent::RTCDTMFToneChangeEvent(const String& tone)
: Event(EventTypeNames::tonechange, false, false)
, m_tone(tone)
{
ScriptWrappable::init(this);
}
RTCDTMFToneChangeEvent::RTCDTMFToneChangeEvent(const RTCDTMFToneChangeEventInit& initializer)
: Event(EventTypeNames::tonechange, initializer)
, m_tone(initializer.tone)
{
ScriptWrappable::init(this);
}
RTCDTMFToneChangeEvent::~RTCDTMFToneChangeEvent()
{
}
const String& RTCDTMFToneChangeEvent::tone() const
{
return m_tone;
}
const AtomicString& RTCDTMFToneChangeEvent::interfaceName() const
{
return EventNames::RTCDTMFToneChangeEvent;
}
void RTCDTMFToneChangeEvent::trace(Visitor* visitor)
{
Event::trace(visitor);
}
}