Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: ui/events/gestures/gesture_recognizer_impl.h

Issue 469523003: Add the actual location coordinates to the touch cancel event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: canceling the touch points from GestureConsumer Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4a57e2b4bc1acbcb97590da81210f5ef8ea639a8 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>
tdresser 2014/08/15 14:22:05 Remove unnecessary include.
lanwei 2014/08/27 03:54:03 Done.
#include <vector>
#include "base/memory/linked_ptr.h"
@@ -61,7 +62,6 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
private:
// Sets up the target consumer for gestures based on the touch-event.
void SetupTargets(const TouchEvent& event, GestureConsumer* consumer);
- void CancelTouches(std::vector<std::pair<int, GestureConsumer*> >* touches);
void DispatchGestureEvent(GestureEvent* event);

Powered by Google App Engine
This is Rietveld 408576698