#include "ui/events/event_source.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "ui/events/event_rewriter.h"
#include "ui/events/event_rewriter_continuation.h"
#include "ui/events/event_sink.h"
namespace ui {
namespace {
bool IsLocatedEventWithDifferentLocations(const Event& event) { … }
}
class EventSource::EventRewriterContinuationImpl
: public EventRewriterContinuation { … };
EventSource::EventSource() { … }
EventSource::~EventSource() { … }
void EventSource::AddEventRewriter(EventRewriter* rewriter) { … }
void EventSource::RemoveEventRewriter(EventRewriter* rewriter) { … }
EventDispatchDetails EventSource::SendEventToSink(const Event* event) { … }
EventDispatchDetails EventSource::DeliverEventToSink(Event* event) { … }
EventDispatchDetails EventSource::SendEventToSinkFromRewriter(
const Event* event,
const EventRewriter* rewriter) { … }
EventSource::EventRewriterList::iterator EventSource::FindContinuation(
const EventRewriter* rewriter) { … }
}