chromium/third_party/blink/renderer/core/dom/events/event.cc

/*
 * Copyright (C) 2001 Peter Kelly ([email protected])
 * Copyright (C) 2001 Tobias Anton ([email protected])
 * Copyright (C) 2006 Samuel Weinig ([email protected])
 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#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 {}

}  // namespace blink