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

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

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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
« no previous file with comments | « ui/events/gestures/gesture_recognizer.h ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 99573566509ced3bfd8f703bfce29a0e9a57f18c..04b43a04f93da67f9d52406ef4b0feb442250834 100644
--- a/ui/events/gestures/gesture_recognizer_impl.h
+++ b/ui/events/gestures/gesture_recognizer_impl.h
@@ -47,6 +47,7 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
bool GetLastTouchPointForTarget(GestureConsumer* consumer,
gfx::PointF* point) override;
bool CancelActiveTouches(GestureConsumer* consumer) override;
+ void CancelActiveTouchesExcept(GestureConsumer* not_cancelled) override;
protected:
virtual GestureProviderImpl* GetGestureProviderForConsumer(
@@ -59,18 +60,12 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
void DispatchGestureEvent(GestureEvent* event);
// Overridden from GestureRecognizer
- bool ProcessTouchEventPreDispatch(const TouchEvent& event,
+ bool ProcessTouchEventPreDispatch(TouchEvent* event,
GestureConsumer* consumer) override;
- Gestures* ProcessTouchEventPostDispatch(
- const TouchEvent& event,
- ui::EventResult result,
- GestureConsumer* consumer) override;
-
- Gestures* ProcessTouchEventOnAsyncAck(
- const TouchEvent& event,
- ui::EventResult result,
- GestureConsumer* consumer) override;
+ Gestures* AckTouchEvent(uint32 unique_event_id,
+ ui::EventResult result,
+ GestureConsumer* consumer) override;
bool CleanupStateForConsumer(GestureConsumer* consumer) override;
void AddGestureEventHelper(GestureEventHelper* helper) override;
« no previous file with comments | « ui/events/gestures/gesture_recognizer.h ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698