#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) { … }
gfx::Transform GetTransformForEvent(const WebGestureEvent& gesture_event) { … }
}
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() { … }
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) { … }
}