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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates 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/filtered_gesture_provider.cc
diff --git a/ui/events/gesture_detection/filtered_gesture_provider.cc b/ui/events/gesture_detection/filtered_gesture_provider.cc
index 76ee5201d1adae15f650074a1ce9956e588d494c..239b66da131cfd0fba8dc9176d3c95245d9c58f5 100644
--- a/ui/events/gesture_detection/filtered_gesture_provider.cc
+++ b/ui/events/gesture_detection/filtered_gesture_provider.cc
@@ -41,6 +41,10 @@ void FilteredGestureProvider::OnTouchEventAck(bool event_consumed) {
gesture_filter_.OnTouchEventAck(event_consumed);
}
+void FilteredGestureProvider::ResetDetection() {
+ gesture_provider_.ResetDetection();
+}
+
void FilteredGestureProvider::SetMultiTouchZoomSupportEnabled(
bool enabled) {
gesture_provider_.SetMultiTouchZoomSupportEnabled(enabled);
« no previous file with comments | « ui/events/gesture_detection/filtered_gesture_provider.h ('k') | ui/events/gesture_detection/gesture_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698