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

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

Issue 717573004: [Android] Thoroughly reset gesture detection upon page navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment 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/gesture_detection/gesture_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index 74749677133d7d3832bec5918a7c71248607052c..cf311ac6355112a5a93790d55dc545dffa8c963a 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -64,6 +64,11 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
// be handled.
bool OnTouchEvent(const MotionEvent& event);
+ // Reset any active gesture detection, including detection of timeout-based
+ // events (e.g., double-tap or delayed tap) for which the pointer has already
+ // been released.
+ void ResetDetection();
+
// Update whether multi-touch pinch zoom is supported by the platform.
void SetMultiTouchZoomSupportEnabled(bool enabled);
« no previous file with comments | « ui/events/gesture_detection/filtered_gesture_provider.cc ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698