// Copyright 2014 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_VIEWS_EVENT_MONITOR_H_ #define UI_VIEWS_EVENT_MONITOR_H_ #include <memory> #include <set> #include "ui/events/event_observer.h" #include "ui/events/types/event_type.h" #include "ui/gfx/geometry/point.h" #include "ui/gfx/native_widget_types.h" #include "ui/views/views_export.h" namespace views { // RAII-style class that forwards events matching the specified |types| to // |event_observer| before they are dispatched to the intended target. // EventObservers cannot modify events nor alter dispatch. class VIEWS_EXPORT EventMonitor { … }; } // namespace views #endif // UI_VIEWS_EVENT_MONITOR_H_