#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "third_party/blink/public/common/input/web_gesture_event.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/public/common/input/web_mouse_wheel_event.h"
#include "third_party/blink/public/common/input/web_pointer_event.h"
#include "third_party/blink/public/common/input/web_touch_event.h"
namespace blink {
WebInputEvent* WebCoalescedInputEvent::EventPointer() { … }
void WebCoalescedInputEvent::AddCoalescedEvent(
const blink::WebInputEvent& event) { … }
const WebInputEvent& WebCoalescedInputEvent::Event() const { … }
size_t WebCoalescedInputEvent::CoalescedEventSize() const { … }
const WebInputEvent& WebCoalescedInputEvent::CoalescedEvent(
size_t index) const { … }
const std::vector<std::unique_ptr<WebInputEvent>>&
WebCoalescedInputEvent::GetCoalescedEventsPointers() const { … }
void WebCoalescedInputEvent::AddPredictedEvent(
const blink::WebInputEvent& event) { … }
size_t WebCoalescedInputEvent::PredictedEventSize() const { … }
const WebInputEvent& WebCoalescedInputEvent::PredictedEvent(
size_t index) const { … }
const std::vector<std::unique_ptr<WebInputEvent>>&
WebCoalescedInputEvent::GetPredictedEventsPointers() const { … }
WebCoalescedInputEvent::WebCoalescedInputEvent(const WebInputEvent& event,
const ui::LatencyInfo& latency)
: … { … }
WebCoalescedInputEvent::WebCoalescedInputEvent(
std::unique_ptr<WebInputEvent> event,
const ui::LatencyInfo& latency)
: … { … }
WebCoalescedInputEvent::WebCoalescedInputEvent(
std::unique_ptr<WebInputEvent> event,
std::vector<std::unique_ptr<WebInputEvent>> coalesced_events,
std::vector<std::unique_ptr<WebInputEvent>> predicted_events,
const ui::LatencyInfo& latency)
: … { … }
WebCoalescedInputEvent::WebCoalescedInputEvent(
const WebCoalescedInputEvent& event) { … }
WebCoalescedInputEvent::~WebCoalescedInputEvent() = default;
bool WebCoalescedInputEvent::CanCoalesceWith(
const WebCoalescedInputEvent& other) const { … }
void WebCoalescedInputEvent::CoalesceWith(
const WebCoalescedInputEvent& newer_event) { … }
}