blob: d92077920277a2b6db8c6b0d757e556b1510aa2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// 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"
#include "content/browser/renderer_host/input/tap_suppression_controller.h"
#include "content/browser/renderer_host/input/tap_suppression_controller_client.h"
// The default implementation of the TouchpadTapSuppressionController does not
// suppress taps. Touchpad tap suppression is needed only on CrOS.
namespace content {
TouchpadTapSuppressionController::TouchpadTapSuppressionController(
TouchpadTapSuppressionControllerClient* /* client */)
: client_(NULL) {}
TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {}
void TouchpadTapSuppressionController::GestureFlingCancel() {}
void TouchpadTapSuppressionController::GestureFlingCancelAck(
bool /*processed*/) {
}
bool TouchpadTapSuppressionController::ShouldDeferMouseDown(
const MouseEventWithLatencyInfo& /*event*/) {
return false;
}
bool TouchpadTapSuppressionController::ShouldSuppressMouseUp() { return false; }
int TouchpadTapSuppressionController::MaxCancelToDownTimeInMs() {
return 0;
}
int TouchpadTapSuppressionController::MaxTapGapTimeInMs() {
return 0;
}
void TouchpadTapSuppressionController::DropStashedTapDown() {
}
void TouchpadTapSuppressionController::ForwardStashedTapDown() {
}
} // namespace content
|