#include "third_party/blink/renderer/core/events/touch_event.h"
#include <memory>
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_touch_event_init.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/event_interface_names.h"
#include "third_party/blink/renderer/core/frame/frame_console.h"
#include "third_party/blink/renderer/core/frame/intervention.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/input/input_device_capabilities.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/instrumentation/histogram.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
namespace {
const WebTouchEvent* GetWebTouchEvent(const WebCoalescedInputEvent& event) { … }
}
TouchEvent::TouchEvent() : … { … }
TouchEvent::TouchEvent(const WebCoalescedInputEvent& event,
TouchList* touches,
TouchList* target_touches,
TouchList* changed_touches,
const AtomicString& type,
AbstractView* view,
TouchAction current_touch_action)
: … { … }
TouchEvent::TouchEvent(const AtomicString& type,
const TouchEventInit* initializer)
: … { … }
TouchEvent::~TouchEvent() = default;
const AtomicString& TouchEvent::InterfaceName() const { … }
bool TouchEvent::IsTouchEvent() const { … }
void TouchEvent::preventDefault() { … }
bool TouchEvent::IsTouchStartOrFirstTouchMove() const { … }
void TouchEvent::Trace(Visitor* visitor) const { … }
DispatchEventResult TouchEvent::DispatchEvent(EventDispatcher& dispatcher) { … }
}