#include "components/input/gesture_event_queue.h"
#include "base/auto_reset.h"
#include "base/trace_event/trace_event.h"
#include "components/input/touchpad_tap_suppression_controller.h"
#include "components/input/touchscreen_tap_suppression_controller.h"
#include "ui/events/blink/blink_features.h"
#include "ui/events/blink/web_input_event_traits.h"
WebGestureEvent;
WebInputEvent;
namespace input {
GestureEventQueue::GestureEventWithLatencyInfoAckState::
GestureEventWithLatencyInfoAckState(
const GestureEventWithLatencyInfo& event)
: … { … }
GestureEventQueue::Config::Config() { … }
GestureEventQueue::GestureEventQueue(
GestureEventQueueClient* client,
FlingControllerEventSenderClient* fling_event_sender_client,
FlingControllerSchedulerClient* fling_scheduler_client,
const Config& config)
: … { … }
GestureEventQueue::~GestureEventQueue() { … }
bool GestureEventQueue::DebounceOrForwardEvent(
const GestureEventWithLatencyInfo& gesture_event) { … }
bool GestureEventQueue::PassToFlingController(
const GestureEventWithLatencyInfo& gesture_event) { … }
void GestureEventQueue::QueueDeferredEvents(
const GestureEventWithLatencyInfo& gesture_event) { … }
GestureEventQueue::GestureQueue GestureEventQueue::TakeDeferredEvents() { … }
void GestureEventQueue::StopFling() { … }
gfx::Vector2dF GestureEventQueue::CurrentFlingVelocity() const { … }
bool GestureEventQueue::FlingInProgressForTest() const { … }
bool GestureEventQueue::ShouldForwardForBounceReduction(
const GestureEventWithLatencyInfo& gesture_event) { … }
void GestureEventQueue::ForwardGestureEvent(
const GestureEventWithLatencyInfo& gesture_event) { … }
void GestureEventQueue::ProcessGestureAck(
blink::mojom::InputEventResultSource ack_source,
blink::mojom::InputEventResultState ack_result,
WebInputEvent::Type type,
const ui::LatencyInfo& latency) { … }
void GestureEventQueue::AckCompletedEvents() { … }
void GestureEventQueue::AckGestureEventToClient(
const GestureEventWithLatencyInfo& event_with_latency,
blink::mojom::InputEventResultSource ack_source,
blink::mojom::InputEventResultState ack_result) { … }
TouchpadTapSuppressionController*
GestureEventQueue::GetTouchpadTapSuppressionController() { … }
void GestureEventQueue::SendScrollEndingEventsNow() { … }
void GestureEventQueue::OnWheelEventAck(
const MouseWheelEventWithLatencyInfo& event,
blink::mojom::InputEventResultSource ack_source,
blink::mojom::InputEventResultState ack_result) { … }
}