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

Unified Diff: content/browser/renderer_host/input/content_gesture_provider.cc

Issue 178193022: [Android] Always insert a TouchCancel if window or tab focus is lost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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: content/browser/renderer_host/input/content_gesture_provider.cc
diff --git a/content/browser/renderer_host/input/content_gesture_provider.cc b/content/browser/renderer_host/input/content_gesture_provider.cc
index e3993bebf1b430f9c8f4fcacaa92195c5cf35475..fddd125a194547e2145e9cc4357376ed95e71311 100644
--- a/content/browser/renderer_host/input/content_gesture_provider.cc
+++ b/content/browser/renderer_host/input/content_gesture_provider.cc
@@ -181,10 +181,6 @@ void ContentGestureProvider::ResetGestureDetectors() {
gesture_provider_.ResetGestureDetectors();
}
-void ContentGestureProvider::CancelActiveTouchSequence() {
- gesture_provider_.CancelActiveTouchSequence();
-}
-
void ContentGestureProvider::SetMultiTouchSupportEnabled(bool enabled) {
gesture_provider_.SetMultiTouchSupportEnabled(enabled);
}
@@ -198,6 +194,10 @@ void ContentGestureProvider::SetDoubleTapSupportForPageEnabled(bool enabled) {
gesture_provider_.SetDoubleTapSupportForPageEnabled(enabled);
}
+const ui::MotionEvent* ContentGestureProvider::GetCurrentDownEvent() const {
+ return gesture_provider_.current_down_event();
+}
+
void ContentGestureProvider::OnGestureEvent(
const ui::GestureEventData& event) {
if (handling_event_) {

Powered by Google App Engine
This is Rietveld 408576698