// 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_EVENTS_EVENT_REWRITER_H_ #define UI_EVENTS_EVENT_REWRITER_H_ #include <memory> #include "base/memory/weak_ptr.h" #include "ui/events/event_dispatcher.h" #include "ui/events/events_export.h" #include "ui/events/platform_event.h" namespace ui { class Event; class EventRewriterContinuation; class EventSource; // TODO(kpschoedel): Remove with old API. // Return status of EventRewriter operations; see that class below. // TODO(kpschoedel): Remove old API. enum EventRewriteStatus { … }; // EventRewriter provides a mechanism for Events to be rewritten // before being dispatched from EventSource to EventSink. class EVENTS_EXPORT EventRewriter { … }; } // namespace ui #endif // UI_EVENTS_EVENT_REWRITER_H_