#include "third_party/blink/renderer/platform/widget/input/compositor_thread_event_queue.h"
#include "base/trace_event/trace_event.h"
#include "cc/metrics/event_metrics.h"
#include "third_party/blink/public/common/input/web_input_event_attribution.h"
namespace blink {
namespace {
void SetScrollOrPinchTraceId(EventWithCallback* event,
int64_t* oldest_scroll_trace_id,
int64_t* oldest_pinch_trace_id) { … }
inline const WebGestureEvent& ToWebGestureEvent(const WebInputEvent& event) { … }
bool IsContinuousGestureEvent(WebInputEvent::Type type) { … }
}
CompositorThreadEventQueue::CompositorThreadEventQueue() { … }
CompositorThreadEventQueue::~CompositorThreadEventQueue() { … }
void CompositorThreadEventQueue::Queue(
std::unique_ptr<EventWithCallback> new_event) { … }
std::unique_ptr<EventWithCallback> CompositorThreadEventQueue::Pop() { … }
WebInputEvent::Type CompositorThreadEventQueue::PeekType() const { … }
}