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

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

Issue 306483003: Prepare for Unified Gesture Recognizer landing in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace, disable UGR. Created 6 years, 7 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/gesture_detection/mock_motion_event.cc ('k') | ui/events/gestures/gesture_provider_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5722be6a261565258226d797c31b977e2ad63a8d..8a4b290bcd1e67991edcb6e9ec4e84789bebca06 100644
--- a/ui/events/gestures/gesture_provider_aura.h
+++ b/ui/events/gestures/gesture_provider_aura.h
@@ -31,6 +31,7 @@ class EVENTS_EXPORT GestureProviderAura : public GestureProviderClient {
bool OnTouchEvent(const TouchEvent& event);
void OnTouchEventAck(bool event_consumed);
const MotionEventAura& pointer_state() { return pointer_state_; }
+ ScopedVector<GestureEvent>* GetAndResetPendingGestures();
// GestureProviderClient implementation
virtual void OnGestureEvent(const GestureEventData& gesture) OVERRIDE;
@@ -46,6 +47,8 @@ class EVENTS_EXPORT GestureProviderAura : public GestureProviderClient {
FilteredGestureProvider filtered_gesture_provider_;
int last_touch_event_flags_;
+ bool handling_event_;
+ ScopedVector<GestureEvent> pending_gestures_;
DISALLOW_COPY_AND_ASSIGN(GestureProviderAura);
};
« no previous file with comments | « ui/events/gesture_detection/mock_motion_event.cc ('k') | ui/events/gestures/gesture_provider_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698