#include "components/input/mock_input_router.h"
#include "base/task/sequenced_task_runner.h"
#include "components/input/input_router_client.h"
namespace input {
void MockInputRouter::SendMouseEvent(
const MouseEventWithLatencyInfo& mouse_event,
MouseEventCallback event_result_callback) { … }
void MockInputRouter::SendWheelEvent(
const MouseWheelEventWithLatencyInfo& wheel_event) { … }
void MockInputRouter::SendKeyboardEvent(
const NativeWebKeyboardEventWithLatencyInfo& key_event,
KeyboardEventCallback event_result_callback) { … }
void MockInputRouter::SendGestureEvent(
const GestureEventWithLatencyInfo& gesture_event) { … }
void MockInputRouter::SendTouchEvent(
const TouchEventWithLatencyInfo& touch_event) { … }
bool MockInputRouter::HasPendingEvents() const { … }
std::optional<cc::TouchAction> MockInputRouter::AllowedTouchAction() { … }
std::optional<cc::TouchAction> MockInputRouter::ActiveTouchAction() { … }
mojo::PendingRemote<blink::mojom::WidgetInputHandlerHost>
MockInputRouter::BindNewHost(scoped_refptr<base::SequencedTaskRunner>) { … }
void MockInputRouter::OnHasTouchEventConsumers(
blink::mojom::TouchEventConsumersPtr consumers) { … }
}