summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc')
-rw-r--r--chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc53
1 files changed, 53 insertions, 0 deletions
diff --git a/chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc b/chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc
new file mode 100644
index 00000000000..d6cf6c8a6a7
--- /dev/null
+++ b/chromium/content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc
@@ -0,0 +1,53 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h"
+
+#include "content/browser/renderer_host/input/tap_suppression_controller.h"
+
+// This is the stub implementation of TouchscreenTapSuppressionController which
+// is used on platforms that do not need tap suppression for touchscreen.
+
+namespace content {
+
+TouchscreenTapSuppressionController::TouchscreenTapSuppressionController(
+ GestureEventFilter* /*gef*/)
+ : gesture_event_filter_(NULL) {}
+
+TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {}
+
+void TouchscreenTapSuppressionController::GestureFlingCancel() {}
+
+void TouchscreenTapSuppressionController::GestureFlingCancelAck(
+ bool /*processed*/) {
+}
+
+bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown(
+ const GestureEventWithLatencyInfo& /*event*/) {
+ return false;
+}
+
+bool TouchscreenTapSuppressionController::ShouldSuppressGestureTap() {
+ return false;
+}
+
+bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapCancel() {
+ return false;
+}
+
+int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() {
+ return 0;
+}
+
+int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() {
+ return 0;
+}
+
+void TouchscreenTapSuppressionController::DropStashedTapDown() {}
+
+void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() {}
+
+void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() {}
+
+} // namespace content