Index: ui/events/gestures/gesture_recognizer_impl.h |
diff --git a/ui/events/gestures/gesture_recognizer_impl.h b/ui/events/gestures/gesture_recognizer_impl.h |
index b2e8106498eb81a5446fd43d61c1ff506d0bbf5f..6e97b353b224027bdb1bc0f80c092c595f7a3dee 100644 |
--- a/ui/events/gestures/gesture_recognizer_impl.h |
+++ b/ui/events/gestures/gesture_recognizer_impl.h |
@@ -6,6 +6,7 @@ |
#define UI_EVENTS_GESTURES_GESTURE_RECOGNIZER_IMPL_H_ |
#include <map> |
+#include <set> |
#include <vector> |
#include "base/memory/linked_ptr.h" |
@@ -94,6 +95,17 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer, |
// to a specific |consumer|. |
GestureEventHelper* FindDispatchHelperForConsumer(GestureConsumer* consumer); |
+ // for all the GestureConsumers in the touches |
tdresser
2014/08/13 19:57:58
Capitalize comments, and end them with a period.
lanwei
2014/08/14 00:38:46
Done.
|
+ // create a map from touch id to the touch location |
+ std::map<int, gfx::PointF> GroupGestureConsumerWithTouchPoints( |
+ std::vector<std::pair<int, GestureConsumer*> >* touches); |
+ |
+ // create a map between the touch_id to the touch point location |
+ // by iterating through the pointer_state in GestureConsumer's |
+ // GestureProviderAura |
+ std::map<int, gfx::PointF> MapTouchIDWithPointLocation( |
+ GestureConsumer* consumer); |
+ |
std::map<GestureConsumer*, GestureSequence*> consumer_sequence_; |
std::map<GestureConsumer*, GestureProviderAura*> consumer_gesture_provider_; |