This source file includes following definitions.
- m_history
- m_history
- m_history
- create
- create
- create
- interfaceName
- trace
#include "config.h"
#include "core/events/PopStateEvent.h"
#include "bindings/v8/SerializedScriptValue.h"
#include "core/frame/History.h"
namespace WebCore {
PopStateEvent::PopStateEvent()
: Event(EventTypeNames::popstate, false, true)
, m_serializedState(nullptr)
, m_history(nullptr)
{
ScriptWrappable::init(this);
}
PopStateEvent::PopStateEvent(const AtomicString& type, const PopStateEventInit& initializer)
: Event(type, initializer)
, m_history(nullptr)
{
ScriptWrappable::init(this);
}
PopStateEvent::PopStateEvent(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtrWillBeRawPtr<History> history)
: Event(EventTypeNames::popstate, false, true)
, m_serializedState(serializedState)
, m_history(history)
{
ScriptWrappable::init(this);
}
PopStateEvent::~PopStateEvent()
{
}
PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create()
{
return adoptRefWillBeNoop(new PopStateEvent);
}
PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtrWillBeRawPtr<History> history)
{
return adoptRefWillBeNoop(new PopStateEvent(serializedState, history));
}
PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer)
{
return adoptRefWillBeNoop(new PopStateEvent(type, initializer));
}
const AtomicString& PopStateEvent::interfaceName() const
{
return EventNames::PopStateEvent;
}
void PopStateEvent::trace(Visitor* visitor)
{
visitor->trace(m_history);
Event::trace(visitor);
}
}