#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatcher.h"
#include "third_party/blink/renderer/core/dom/events/event_path.h"
#include "third_party/blink/renderer/core/dom/events/event_target.h"
#include "third_party/blink/renderer/core/dom/events/window_event_context.h"
#include "third_party/blink/renderer/core/dom/static_node_list.h"
#include "third_party/blink/renderer/core/event_interface_names.h"
#include "third_party/blink/renderer/core/events/focus_event.h"
#include "third_party/blink/renderer/core/events/mouse_event.h"
#include "third_party/blink/renderer/core/events/pointer_event.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/deprecation/deprecation.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/svg/svg_element.h"
#include "third_party/blink/renderer/core/timing/dom_window_performance.h"
#include "third_party/blink/renderer/core/timing/window_performance.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
Event::Event() : … { … }
Event::Event(const AtomicString& event_type,
Bubbles bubbles,
Cancelable cancelable,
base::TimeTicks platform_time_stamp)
: … { … }
Event::Event(const AtomicString& event_type,
Bubbles bubbles,
Cancelable cancelable,
ComposedMode composed_mode)
: … { … }
Event::Event(const AtomicString& event_type,
Bubbles bubbles,
Cancelable cancelable,
ComposedMode composed_mode,
base::TimeTicks platform_time_stamp)
: … { … }
Event::Event(const AtomicString& event_type,
const EventInit* initializer,
base::TimeTicks platform_time_stamp)
: … { … }
Event::~Event() = default;
void Event::initEvent(const AtomicString& event_type_arg,
bool bubbles_arg,
bool cancelable_arg) { … }
void Event::initEvent(const AtomicString& event_type_arg,
bool bubbles_arg,
bool cancelable_arg,
EventTarget* related_target) { … }
bool Event::legacyReturnValue(ScriptState* script_state) const { … }
void Event::setLegacyReturnValue(ScriptState* script_state, bool return_value) { … }
const AtomicString& Event::InterfaceName() const { … }
bool Event::HasInterface(const AtomicString& name) const { … }
bool Event::IsUIEvent() const { … }
bool Event::IsMouseEvent() const { … }
bool Event::IsFocusEvent() const { … }
bool Event::IsKeyboardEvent() const { … }
bool Event::IsTouchEvent() const { … }
bool Event::IsGestureEvent() const { … }
bool Event::IsWheelEvent() const { … }
bool Event::IsPointerEvent() const { … }
bool Event::IsHighlightPointerEvent() const { … }
bool Event::IsInputEvent() const { … }
bool Event::IsDragEvent() const { … }
bool Event::IsCompositionEvent() const { … }
bool Event::IsClipboardEvent() const { … }
bool Event::IsBeforeTextInsertedEvent() const { … }
bool Event::IsBeforeCreatePolicyEvent() const { … }
bool Event::IsBeforeUnloadEvent() const { … }
bool Event::IsErrorEvent() const { … }
void Event::preventDefault() { … }
void Event::SetTarget(EventTarget* target) { … }
void Event::SetRelatedTargetIfExists(EventTarget* related_target) { … }
void Event::ReceivedTarget() { … }
void Event::SetUnderlyingEvent(const Event* ue) { … }
void Event::InitEventPath(Node& node) { … }
bool Event::IsFullyTrusted() const { … }
void Event::SetHandlingPassive(PassiveMode mode) { … }
HeapVector<Member<EventTarget>> Event::composedPath(
ScriptState* script_state) const { … }
EventTarget* Event::currentTarget() const { … }
double Event::timeStamp(ScriptState* script_state) const { … }
void Event::setCancelBubble(ScriptState* script_state, bool cancel) { … }
DispatchEventResult Event::DispatchEvent(EventDispatcher& dispatcher) { … }
void Event::Trace(Visitor* visitor) const { … }
}