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

Unified Diff: content/browser/renderer_host/input/legacy_touch_event_queue.h

Issue 2669663002: Move touch slop suppression to TouchEventManager (Closed)
Patch Set: slop regesion Created 3 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/legacy_touch_event_queue.h
diff --git a/content/browser/renderer_host/input/legacy_touch_event_queue.h b/content/browser/renderer_host/input/legacy_touch_event_queue.h
index 16ab57ad030af9d04eb591787adb11b2f135cfe3..60f9c6b7f373a0b20baf212e7cacd2bf321f2d5f 100644
--- a/content/browser/renderer_host/input/legacy_touch_event_queue.h
+++ b/content/browser/renderer_host/input/legacy_touch_event_queue.h
@@ -96,7 +96,6 @@ class CONTENT_EXPORT LegacyTouchEventQueue : public TouchEventQueue {
private:
class TouchTimeoutHandler;
- class TouchMoveSlopSuppressor;
friend class TouchTimeoutHandler;
friend class TouchEventQueueTest;
@@ -181,10 +180,6 @@ class CONTENT_EXPORT LegacyTouchEventQueue : public TouchEventQueue {
// Optional handler for timed-out touch event acks.
std::unique_ptr<TouchTimeoutHandler> timeout_handler_;
- // Suppression of TouchMove's within a slop region when a sequence has not yet
- // been preventDefaulted.
- std::unique_ptr<TouchMoveSlopSuppressor> touchmove_slop_suppressor_;
-
// Whether touch events should remain buffered and dispatched asynchronously
// while a scroll sequence is active. In this mode, touchmove's are throttled
// and ack'ed immediately, but remain buffered in |pending_async_touchmove_|
« no previous file with comments | « components/test_runner/event_sender.cc ('k') | content/browser/renderer_host/input/legacy_touch_event_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698