#include "third_party/blink/renderer/core/events/promise_rejection_event.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_promise_rejection_event_init.h"
#include "third_party/blink/renderer/core/event_interface_names.h"
#include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
PromiseRejectionEvent::PromiseRejectionEvent(
ScriptState* script_state,
const AtomicString& type,
const PromiseRejectionEventInit* initializer)
: … { … }
PromiseRejectionEvent::~PromiseRejectionEvent() = default;
ScriptPromise<IDLAny> PromiseRejectionEvent::promise(
ScriptState* script_state) const { … }
ScriptValue PromiseRejectionEvent::reason(ScriptState* script_state) const { … }
const AtomicString& PromiseRejectionEvent::InterfaceName() const { … }
bool PromiseRejectionEvent::CanBeDispatchedInWorld(
const DOMWrapperWorld& world) const { … }
void PromiseRejectionEvent::Trace(Visitor* visitor) const { … }
}