chromium/content/browser/renderer_host/input/synthetic_gesture_target_base.cc

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

#include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"

#include "components/input/render_widget_host_input_event_router.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/common/input/events_helper.h"
#include "third_party/blink/public/common/input/web_input_event.h"
#include "ui/events/blink/web_input_event_traits.h"
#include "ui/events/event.h"
#include "ui/latency/latency_info.h"

WebInputEvent;
WebTouchEvent;
WebTouchPoint;
WebMouseEvent;
WebMouseWheelEvent;
WebGestureEvent;

namespace content {
namespace {

// This value was determined experimentally. It was sufficient to not cause a
// fling on Android and Aura.
const int kPointerAssumedStoppedTimeMs =;

}  // namespace

SyntheticGestureTargetBase::SyntheticGestureTargetBase(
    RenderWidgetHostImpl* host)
    :{}

SyntheticGestureTargetBase::~SyntheticGestureTargetBase() {}

void SyntheticGestureTargetBase::DispatchInputEventToPlatform(
    const WebInputEvent& event) {}

void SyntheticGestureTargetBase::GetVSyncParameters(
    base::TimeTicks& timebase,
    base::TimeDelta& interval) const {}

base::TimeDelta SyntheticGestureTargetBase::PointerAssumedStoppedTime()
    const {}

float SyntheticGestureTargetBase::GetSpanSlopInDips() const {}

int SyntheticGestureTargetBase::GetMouseWheelMinimumGranularity() const {}

void SyntheticGestureTargetBase::WaitForTargetAck(
    SyntheticGestureParams::GestureType type,
    content::mojom::GestureSourceType source,
    base::OnceClosure callback) const {}

bool SyntheticGestureTargetBase::PointIsWithinContents(
    gfx::PointF point) const {}

}  // namespace content