| Index: content/browser/renderer_host/touchpad_tap_suppression_controller.cc
|
| diff --git a/content/browser/renderer_host/touchpad_tap_suppression_controller.cc b/content/browser/renderer_host/touchpad_tap_suppression_controller.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb6671f765ddb69f548f967ee7ae80f213cafedd
|
| --- /dev/null
|
| +++ b/content/browser/renderer_host/touchpad_tap_suppression_controller.cc
|
| @@ -0,0 +1,38 @@
|
| +// Copyright (c) 2012 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/touchpad_tap_suppression_controller.h"
|
| +
|
| +#include <utility>
|
| +
|
| +// The default implementation of the TouchpadTapSuppressionController does not
|
| +// suppress taps. Tap suppression is needed only on CrOS.
|
| +
|
| +namespace content {
|
| +
|
| +TouchpadTapSuppressionController::TouchpadTapSuppressionController(
|
| + RenderWidgetHostImpl* /*rwhv*/)
|
| + : render_widget_host_(NULL) {
|
| +}
|
| +
|
| +TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {}
|
| +
|
| +bool TouchpadTapSuppressionController::ShouldSuppressMouseUp() { return false; }
|
| +
|
| +bool TouchpadTapSuppressionController::ShouldDeferMouseDown(
|
| + const WebKit::WebMouseEvent& event) {
|
| + return false;
|
| +}
|
| +
|
| +void TouchpadTapSuppressionController::GestureFlingCancelAck(
|
| + bool /*processed*/) {
|
| +}
|
| +
|
| +void TouchpadTapSuppressionController::GestureFlingCancel(
|
| + double /*cancel_time*/) {
|
| +}
|
| +
|
| +void TouchpadTapSuppressionController::MouseDownTimerExpired() {}
|
| +
|
| +} // namespace content
|
|
|