Index: ui/events/gestures/gesture_point.h |
diff --git a/ui/events/gestures/gesture_point.h b/ui/events/gestures/gesture_point.h |
index f9540faec00facbd07b5c9395244d0f2b91ade60..85cfd84390574bc99c08c29710ba574117d5b60d 100644 |
--- a/ui/events/gestures/gesture_point.h |
+++ b/ui/events/gestures/gesture_point.h |
@@ -79,6 +79,11 @@ class GesturePoint { |
const gfx::Rect& enclosing_rectangle() const { return enclosing_rect_; } |
+ void set_source_device_id(int source_device_id) { |
+ source_device_id_ = source_device_id; |
+ } |
+ int source_device_id() const { return source_device_id_; } |
+ |
private: |
// Various statistical functions to manipulate gestures. |
@@ -131,6 +136,8 @@ class GesturePoint { |
// Count of the number of events with same direction. |
gfx::Vector2d same_direction_count_; |
+ int source_device_id_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GesturePoint); |
}; |