| Index: ui/events/gestures/gesture_recognizer.h
|
| diff --git a/ui/events/gestures/gesture_recognizer.h b/ui/events/gestures/gesture_recognizer.h
|
| index 92d225a71187276ff2c92d72595b7ea335609dd7..457f66e193598efd0a0b28d46d3cf67acda39172 100644
|
| --- a/ui/events/gestures/gesture_recognizer.h
|
| +++ b/ui/events/gestures/gesture_recognizer.h
|
| @@ -46,10 +46,12 @@ class EVENTS_EXPORT GestureRecognizer {
|
| virtual GestureConsumer* GetTargetForGestureEvent(
|
| const GestureEvent& event) = 0;
|
|
|
| - // If there is an active touch within
|
| - // GestureConfiguration::max_separation_for_gesture_touches_in_pixels,
|
| - // of |location|, returns the target of the nearest active touch.
|
| - virtual GestureConsumer* GetTargetForLocation(const gfx::Point& location) = 0;
|
| + // Returns the target of the nearest active touch with source device of
|
| + // |source_device_id|, within
|
| + // GestureConfiguration::max_separation_for_gesture_touches_in_pixels of
|
| + // |location|, or NULL if no such point exists.
|
| + virtual GestureConsumer* GetTargetForLocation(
|
| + const gfx::Point& location, int source_device_id) = 0;
|
|
|
| // Makes |new_consumer| the target for events previously targeting
|
| // |current_consumer|. All other targets are canceled.
|
|
|