This source file includes following definitions.
- create
- create
- m_candidate
- candidate
- interfaceName
- trace
#include "config.h"
#include "modules/mediastream/RTCIceCandidateEvent.h"
#include "modules/mediastream/RTCIceCandidate.h"
namespace WebCore {
PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
{
return adoptRefWillBeNoop(new RTCIceCandidateEvent);
}
PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
{
return adoptRefWillBeNoop(new RTCIceCandidateEvent(canBubble, cancelable, candidate));
}
RTCIceCandidateEvent::RTCIceCandidateEvent()
{
ScriptWrappable::init(this);
}
RTCIceCandidateEvent::RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
: Event(EventTypeNames::icecandidate, canBubble, cancelable)
, m_candidate(candidate)
{
ScriptWrappable::init(this);
}
RTCIceCandidateEvent::~RTCIceCandidateEvent()
{
}
RTCIceCandidate* RTCIceCandidateEvent::candidate() const
{
return m_candidate.get();
}
const AtomicString& RTCIceCandidateEvent::interfaceName() const
{
return EventNames::RTCIceCandidateEvent;
}
void RTCIceCandidateEvent::trace(Visitor* visitor)
{
Event::trace(visitor);
}
}