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

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, 1 month 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..c0966e9c0c216d6ee17f68028ef1dbb28a25571a 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 TouchEvent& event, 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_;
+ unsigned long long last_unique_touch_event_id_;
DISALLOW_COPY_AND_ASSIGN(GestureProviderAura);
};

Powered by Google App Engine
This is Rietveld 408576698