2609c8bb7c20c40405127236da5a45e3a826662c
[platform/framework/web/crosswalk.git] / src / content / browser / renderer_host / input / touchscreen_tap_suppression_controller_stub.cc
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.
4
5 #include "content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h"
6
7 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
8
9 // This is the stub implementation of TouchscreenTapSuppressionController which
10 // is used on platforms that do not need tap suppression for touchscreen.
11
12 namespace content {
13
14 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController(
15     GestureEventQueue* /*geq*/)
16     : gesture_event_queue_(NULL) {}
17
18 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {}
19
20 void TouchscreenTapSuppressionController::GestureFlingCancel() {}
21
22 void TouchscreenTapSuppressionController::GestureFlingCancelAck(
23     bool /*processed*/) {
24 }
25
26 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown(
27     const GestureEventWithLatencyInfo& /*event*/) {
28   return false;
29 }
30
31 bool TouchscreenTapSuppressionController::ShouldDeferGestureShowPress(
32     const GestureEventWithLatencyInfo& /*event*/) {
33   return false;
34 }
35
36 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapEnd() {
37   return false;
38 }
39
40 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() {
41   return 0;
42 }
43
44 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() {
45   return 0;
46 }
47
48 void TouchscreenTapSuppressionController::DropStashedTapDown() {}
49
50 void TouchscreenTapSuppressionController::ForwardStashedTapDown() {}
51
52 }  // namespace content