#include "third_party/blink/renderer/core/events/wheel_event.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_wheel_event_init.h"
#include "third_party/blink/renderer/core/clipboard/data_transfer.h"
#include "third_party/blink/renderer/core/dom/events/event_dispatcher.h"
#include "third_party/blink/renderer/core/event_interface_names.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/web_feature.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
namespace {
unsigned ConvertDeltaMode(const WebMouseWheelEvent& event) { … }
MouseEventInit* GetMouseEventInitForWheel(const WebMouseWheelEvent& event,
LocalDOMWindow& window) { … }
}
WheelEvent* WheelEvent::Create(const WebMouseWheelEvent& event,
LocalDOMWindow& window) { … }
WheelEvent* WheelEvent::Create(const WebMouseWheelEvent& event,
const gfx::Vector2dF& delta_in_pixels,
LocalDOMWindow& window) { … }
WheelEvent::WheelEvent()
: … { … }
WheelEvent::WheelEvent(const AtomicString& type,
const WheelEventInit* initializer)
: … { … }
WheelEvent::WheelEvent(const WebMouseWheelEvent& event, LocalDOMWindow& window)
: … { … }
WheelEvent::WheelEvent(const WebMouseWheelEvent& event,
const gfx::Vector2dF& delta_in_pixels,
LocalDOMWindow& window)
: … { … }
const AtomicString& WheelEvent::InterfaceName() const { … }
bool WheelEvent::IsMouseEvent() const { … }
bool WheelEvent::IsWheelEvent() const { … }
void WheelEvent::preventDefault() { … }
DispatchEventResult WheelEvent::DispatchEvent(EventDispatcher& dispatcher) { … }
void WheelEvent::Trace(Visitor* visitor) const { … }
}