// 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. #ifndef UI_EVENTS_EVENT_HANDLER_H_ #define UI_EVENTS_EVENT_HANDLER_H_ #include <string_view> #include <vector> #include "base/containers/stack.h" #include "base/memory/raw_ptr.h" #include "ui/events/events_export.h" namespace ui { class CancelModeEvent; class Event; class EventDispatcher; class EventTarget; class GestureEvent; class KeyEvent; class MouseEvent; class ScrollEvent; class TouchEvent; // Dispatches events to appropriate targets. The default implementations of // all of the specific handlers (e.g. OnKeyEvent, OnMouseEvent) do nothing. class EVENTS_EXPORT EventHandler { … }; EventHandlerList; } // namespace ui #endif // UI_EVENTS_EVENT_HANDLER_H_