- // Prepares the event so that it can be dispatched. This is invoked before
- // an EventTargeter is used to find the target of the event. So this can be
- // used to update the event so that the targeter can operate correctly (e.g.
- // it can be used to updated the location of the event when disptaching from
- // an EventSource in high-DPI).
- virtual void PrepareEventForDispatch(Event* event);
+ // Invoked at the start of processing, before an EventTargeter is used to
+ // find the target of the event. If processing should not take place, marks
+ // |event| as handled. Otherwise updates |event| so that the targeter can
+ // operate correctly (e.g., it can be used to update the location of the
+ // event when dispatching from an EventSource in high-DPI) and updates any
+ // members in the event processor as necessary.
+ virtual void OnEventProcessingStarted(Event* event);