blob: 45d712ff6c1375896a080995aa9a8fa37c8d7b40 [file] [log] [blame]
// 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/touchpad_tap_suppression_controller.h"
namespace content {
TouchpadTapSuppressionController::TouchpadTapSuppressionController(
const TapSuppressionController::Config& config)
: TapSuppressionController(config) {}
TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {}
bool TouchpadTapSuppressionController::ShouldSuppressMouseDown(
const MouseEventWithLatencyInfo& event) {
return ShouldSuppressTapDown();
}
bool TouchpadTapSuppressionController::ShouldSuppressMouseUp() {
return ShouldSuppressTapEnd();
}
} // namespace content