#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 {
const int kPointerAssumedStoppedTimeMs = …;
}
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 { … }
}