// Copyright 2013 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_SOURCE_H_ #define UI_EVENTS_EVENT_SOURCE_H_ #include <list> #include <memory> #include <vector> #include "base/scoped_observation_traits.h" #include "ui/events/event_dispatcher.h" #include "ui/events/event_rewriter.h" #include "ui/events/events_export.h" namespace ui { class Event; class EventSink; // EventSource receives events from the native platform (e.g. X11, win32 etc.) // and sends the events to an EventSink. class EVENTS_EXPORT EventSource { … }; } // namespace ui namespace base { template <> struct ScopedObservationTraits<ui::EventSource, ui::EventRewriter> { … }; } // namespace base #endif // UI_EVENTS_EVENT_SOURCE_H_