Index: ui/events/event_processor.h |
diff --git a/ui/events/event_processor.h b/ui/events/event_processor.h |
index 82d30ce1dfaedb18f1e4122717c284b5da79e383..8e6305148ba5d5dca5d8f3a1bdb03a6ac5a06038 100644 |
--- a/ui/events/event_processor.h |
+++ b/ui/events/event_processor.h |
@@ -10,21 +10,14 @@ |
namespace ui { |
-class EventTargeter; |
- |
// EventProcessor receives an event from an EventSource and dispatches it to a |
// tree of EventTargets. |
class EVENTS_EXPORT EventProcessor : public EventDispatcherDelegate { |
public: |
~EventProcessor() override {} |
- // Returns the EventTarget with the right EventTargeter that we should use for |
- // dispatching this |event|. |
- virtual EventTarget* GetRootForEvent(Event* event) = 0; |
- |
- // If the root target returned by GetRootForEvent() does not have a |
- // targeter set, then the default targeter is used to find the target. |
- virtual EventTargeter* GetDefaultEventTargeter() = 0; |
+ // Returns the root of the tree this event processor owns. |
+ virtual EventTarget* GetRootTarget() = 0; |
// Dispatches an event received from the EventSource to the tree of |
// EventTargets (whose root is returned by GetRootTarget()). The co-ordinate |