chromium/third_party/blink/renderer/core/events/wheel_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, 2010 Apple Inc. All rights reserved.
 * Copyright (C) 2013 Samsung Electronics. 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/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) {}

}  // namespace

WheelEvent* WheelEvent::Create(const WebMouseWheelEvent& event,
                               LocalDOMWindow& window) {}

WheelEvent* WheelEvent::Create(const WebMouseWheelEvent& event,
                               const gfx::Vector2dF& delta_in_pixels,
                               LocalDOMWindow& window) {}

WheelEvent::WheelEvent()
    :{}

// crbug.com/1173525: tweak the initialization behavior.
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 {}

}  // namespace blink