OLD | NEW |
(Empty) | |
| 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_contro
ller.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::FilterTapEvent( |
| 27 const GestureEventWithLatencyInfo& /*event*/) { |
| 28 return false; |
| 29 } |
| 30 |
| 31 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() { |
| 32 return 0; |
| 33 } |
| 34 |
| 35 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() { |
| 36 return 0; |
| 37 } |
| 38 |
| 39 void TouchscreenTapSuppressionController::DropStashedTapDown() {} |
| 40 |
| 41 void TouchscreenTapSuppressionController::ForwardStashedTapDown() {} |
| 42 |
| 43 } // namespace content |
OLD | NEW |