#include "components/input/mouse_wheel_event_queue.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/blink/web_input_event_traits.h"
WebGestureEvent;
WebInputEvent;
WebMouseWheelEvent;
LatencyInfo;
namespace input {
MouseWheelEventQueue::MouseWheelEventQueue(MouseWheelEventQueueClient* client)
: … { … }
MouseWheelEventQueue::~MouseWheelEventQueue() { … }
void MouseWheelEventQueue::QueueEvent(
const MouseWheelEventWithLatencyInfo& event) { … }
bool MouseWheelEventQueue::CanGenerateGestureScroll(
blink::mojom::InputEventResultState ack_result) const { … }
void MouseWheelEventQueue::ProcessMouseWheelAck(
const MouseWheelEventWithLatencyInfo& ack_event,
blink::mojom::InputEventResultSource ack_source,
blink::mojom::InputEventResultState ack_result) { … }
void MouseWheelEventQueue::OnGestureScrollEvent(
const GestureEventWithLatencyInfo& gesture_event) { … }
void MouseWheelEventQueue::TryForwardNextEventToRenderer() { … }
void MouseWheelEventQueue::SendScrollEnd(WebGestureEvent update_event,
bool synthetic) { … }
void MouseWheelEventQueue::SendScrollBegin(
const WebGestureEvent& gesture_update,
bool synthetic) { … }
}