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

Unified Diff: ui/events/gesture_detection/filtered_gesture_provider.h

Issue 679633005: Expose native, desktop and mobile gesture detection defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/gesture_detection/filtered_gesture_provider.h
diff --git a/ui/events/gesture_detection/filtered_gesture_provider.h b/ui/events/gesture_detection/filtered_gesture_provider.h
index 231e62bf7fa21a444109ce209b596e86bac4ebc5..55cc35e8cf0032e9c3fa623e5becac002fb9786d 100644
--- a/ui/events/gesture_detection/filtered_gesture_provider.h
+++ b/ui/events/gesture_detection/filtered_gesture_provider.h
@@ -37,6 +37,7 @@ class GESTURE_DETECTION_EXPORT FilteredGestureProvider
void SetDoubleTapSupportForPlatformEnabled(bool enabled);
void SetDoubleTapSupportForPageEnabled(bool enabled);
const ui::MotionEvent* GetCurrentDownEvent() const;
+ bool LastTouchEventDidGenerateScroll() const;
private:
// GestureProviderClient implementation.
@@ -51,6 +52,7 @@ class GESTURE_DETECTION_EXPORT FilteredGestureProvider
ui::TouchDispositionGestureFilter gesture_filter_;
bool handling_event_;
+ bool last_touch_event_did_generate_scroll_;
ui::GestureEventDataPacket pending_gesture_packet_;
DISALLOW_COPY_AND_ASSIGN(FilteredGestureProvider);

Powered by Google App Engine
This is Rietveld 408576698