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

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

Issue 680413006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sadrul's comments. Created 6 years 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_provider_aura.h
diff --git a/ui/events/gestures/gesture_provider_aura.h b/ui/events/gestures/gesture_provider_aura.h
index daf853de25d45e4788a88510b0cdfd55c5261e7c..25769d6b0403f0641d537a77840e391a0a10bdbc 100644
--- a/ui/events/gestures/gesture_provider_aura.h
+++ b/ui/events/gestures/gesture_provider_aura.h
@@ -30,7 +30,8 @@ class EVENTS_EXPORT GestureProviderAura : public GestureProviderClient {
~GestureProviderAura() override;
bool OnTouchEvent(const TouchEvent& event);
- void OnTouchEventAck(bool event_consumed);
+ void OnAsyncTouchEventAck(bool event_consumed);
+ void OnSyncTouchEventAck(const uint64 unique_event_id, bool event_consumed);
const MotionEventAura& pointer_state() { return pointer_state_; }
ScopedVector<GestureEvent>* GetAndResetPendingGestures();
@@ -50,6 +51,7 @@ class EVENTS_EXPORT GestureProviderAura : public GestureProviderClient {
ui::LatencyInfo last_touch_event_latency_info_;
bool handling_event_;
ScopedVector<GestureEvent> pending_gestures_;
+ uint64 last_unique_touch_event_id_;
DISALLOW_COPY_AND_ASSIGN(GestureProviderAura);
};
« no previous file with comments | « ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc ('k') | ui/events/gestures/gesture_provider_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698