1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h"
7 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
9 // This is the stub implementation of TouchscreenTapSuppressionController which
10 // is used on platforms that do not need tap suppression for touchscreen.
14 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController(
15 GestureEventFilter
* /*gef*/)
16 : gesture_event_filter_(NULL
) {}
18 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {}
20 void TouchscreenTapSuppressionController::GestureFlingCancel() {}
22 void TouchscreenTapSuppressionController::GestureFlingCancelAck(
26 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown(
27 const GestureEventWithLatencyInfo
& /*event*/) {
31 bool TouchscreenTapSuppressionController::ShouldDeferGestureShowPress(
32 const GestureEventWithLatencyInfo
& /*event*/) {
36 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapEnd() {
40 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() {
44 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() {
48 void TouchscreenTapSuppressionController::DropStashedTapDown() {}
50 void TouchscreenTapSuppressionController::ForwardStashedTapDown() {}
52 } // namespace content