#include "ui/events/gesture_detection/filtered_gesture_provider.h"
#include "base/auto_reset.h"
#include "base/check.h"
#include "base/notreached.h"
#include "ui/events/velocity_tracker/motion_event.h"
namespace ui {
FilteredGestureProvider::TouchHandlingResult::TouchHandlingResult()
: … { … }
FilteredGestureProvider::FilteredGestureProvider(
const GestureProvider::Config& config,
GestureProviderClient* client)
: … { … }
FilteredGestureProvider::~FilteredGestureProvider() = default;
void FilteredGestureProvider::UpdateConfig(
const GestureProvider::Config& config) { … }
FilteredGestureProvider::TouchHandlingResult
FilteredGestureProvider::OnTouchEvent(const MotionEvent& event) { … }
void FilteredGestureProvider::OnTouchEventAck(
uint32_t unique_event_id,
bool event_consumed,
bool is_source_touch_event_set_blocking,
const std::optional<EventLatencyMetadata>& event_latency_metadata) { … }
void FilteredGestureProvider::ResetGestureHandlingState() { … }
void FilteredGestureProvider::SendSynthesizedEndEvents() { … }
void FilteredGestureProvider::ResetDetection() { … }
void FilteredGestureProvider::SetMultiTouchZoomSupportEnabled(
bool enabled) { … }
void FilteredGestureProvider::SetDoubleTapSupportForPlatformEnabled(
bool enabled) { … }
void FilteredGestureProvider::SetDoubleTapSupportForPageEnabled(bool enabled) { … }
const ui::MotionEvent* FilteredGestureProvider::GetCurrentDownEvent() const { … }
void FilteredGestureProvider::OnGestureEvent(const GestureEventData& event) { … }
bool FilteredGestureProvider::RequiresDoubleTapGestureEvents() const { … }
void FilteredGestureProvider::ForwardGestureEvent(
const GestureEventData& event) { … }
}