chromium/ui/events/event_dispatcher.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/events/event_dispatcher.h"

#include "base/ranges/algorithm.h"
#include "ui/events/event_target.h"
#include "ui/events/event_targeter.h"

namespace ui {

namespace {

class ScopedDispatchHelper : public Event::DispatcherApi {};

}  // namespace

EventDispatcherDelegate::EventDispatcherDelegate() :{}

EventDispatcherDelegate::~EventDispatcherDelegate() {}

Event* EventDispatcherDelegate::current_event() {}

EventDispatchDetails EventDispatcherDelegate::DispatchEvent(EventTarget* target,
                                                            Event* event) {}

EventDispatchDetails EventDispatcherDelegate::PreDispatchEvent(
    EventTarget* target, Event* event) {}

EventDispatchDetails EventDispatcherDelegate::PostDispatchEvent(
    EventTarget* target, const Event& event) {}

EventDispatchDetails EventDispatcherDelegate::DispatchEventToTarget(
    EventTarget* target,
    Event* event) {}

////////////////////////////////////////////////////////////////////////////////
// EventDispatcher:

EventDispatcher::EventDispatcher(EventDispatcherDelegate* delegate)
    :{}

EventDispatcher::~EventDispatcher() {}

void EventDispatcher::OnHandlerDestroyed(EventHandler* handler) {}

void EventDispatcher::ProcessEvent(EventTarget* target, Event* event) {}

void EventDispatcher::OnDispatcherDelegateDestroyed() {}

////////////////////////////////////////////////////////////////////////////////
// EventDispatcher, private:

void EventDispatcher::DispatchEventToEventHandlers(EventHandlerList* list,
                                                   Event* event) {}

void EventDispatcher::DispatchEvent(EventHandler* handler, Event* event) {}

}  // namespace ui