#include "ui/events/event_target.h"
#include "base/check.h"
#include "base/notreached.h"
#include "base/ranges/algorithm.h"
#include "ui/events/event.h"
#include "ui/gfx/geometry/point_conversions.h"
namespace ui {
EventTarget::EventTarget() = default;
EventTarget::~EventTarget() = default;
void EventTarget::ConvertEventToTarget(const EventTarget* target,
LocatedEvent* event) const { … }
gfx::PointF EventTarget::GetScreenLocationF(
const ui::LocatedEvent& event) const { … }
gfx::Point EventTarget::GetScreenLocation(const ui::LocatedEvent& event) const { … }
void EventTarget::AddPreTargetHandler(EventHandler* handler) { … }
void EventTarget::AddPreTargetHandler(EventHandler* handler,
Priority priority) { … }
void EventTarget::RemovePreTargetHandler(EventHandler* handler) { … }
void EventTarget::AddPostTargetHandler(EventHandler* handler) { … }
void EventTarget::RemovePostTargetHandler(EventHandler* handler) { … }
bool EventTarget::IsPreTargetListEmpty() const { … }
EventHandler* EventTarget::SetTargetHandler(EventHandler* target_handler) { … }
void EventTarget::GetPreTargetHandlers(EventHandlerList* list) { … }
void EventTarget::GetPostTargetHandlers(EventHandlerList* list) { … }
}