chromium/third_party/blink/common/input/web_gesture_event.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/common/input/web_gesture_event.h"

#include <limits>

#include "ui/gfx/geometry/transform.h"

namespace blink {

namespace {

bool IsContinuousGestureEvent(WebInputEvent::Type type) {}

// Returns the transform matrix corresponding to the gesture event.
gfx::Transform GetTransformForEvent(const WebGestureEvent& gesture_event) {}

}  // namespace

std::unique_ptr<WebInputEvent> WebGestureEvent::Clone() const {}

bool WebGestureEvent::CanCoalesce(const WebInputEvent& event) const {}

void WebGestureEvent::Coalesce(const WebInputEvent& event) {}

ui::ScrollInputType WebGestureEvent::GetScrollInputType() const {}

float WebGestureEvent::DeltaXInRootFrame() const {}

float WebGestureEvent::DeltaYInRootFrame() const {}

ui::ScrollGranularity WebGestureEvent::DeltaUnits() const {}

WebGestureEvent::InertialPhaseState WebGestureEvent::InertialPhase() const {}

bool WebGestureEvent::Synthetic() const {}

gfx::SizeF WebGestureEvent::TapAreaInRootFrame() const {}

gfx::PointF WebGestureEvent::PositionInRootFrame() const {}

int WebGestureEvent::TapCount() const {}

int WebGestureEvent::TapDownCount() const {}

void WebGestureEvent::ApplyTouchAdjustment(
    const gfx::PointF& root_frame_coords) {}

void WebGestureEvent::FlattenTransform() {}

// Whether |event_in_queue| is a touchscreen GesturePinchUpdate or
// GestureScrollUpdate and has the same modifiers/source as the new
// scroll/pinch event. Compatible touchscreen scroll and pinch event pairs
// can be logically coalesced.
bool WebGestureEvent::IsCompatibleScrollorPinch(
    const WebGestureEvent& new_event,
    const WebGestureEvent& event_in_queue) {}

std::pair<std::unique_ptr<WebGestureEvent>, std::unique_ptr<WebGestureEvent>>
WebGestureEvent::CoalesceScrollAndPinch(
    const WebGestureEvent* second_last_event,
    const WebGestureEvent& last_event,
    const WebGestureEvent& new_event) {}

std::unique_ptr<blink::WebGestureEvent>
WebGestureEvent::GenerateInjectedScrollbarGestureScroll(
    WebInputEvent::Type type,
    base::TimeTicks timestamp,
    gfx::PointF position_in_widget,
    gfx::Vector2dF scroll_delta,
    ui::ScrollGranularity granularity) {}

}  // namespace blink