OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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/touchscreen_tap_suppression_controller.h
" |
| 6 |
| 7 #include "content/browser/renderer_host/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 GestureEventFilter* /*gef*/) |
| 16 : gesture_event_filter_(NULL), |
| 17 controller_(NULL) { |
| 18 } |
| 19 |
| 20 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {} |
| 21 |
| 22 void TouchscreenTapSuppressionController::GestureFlingCancel() {} |
| 23 |
| 24 void TouchscreenTapSuppressionController::GestureFlingCancelAck( |
| 25 bool /*processed*/) { |
| 26 } |
| 27 |
| 28 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown( |
| 29 const WebKit::WebGestureEvent& /*event*/) { |
| 30 return false; |
| 31 } |
| 32 |
| 33 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTap() { |
| 34 return false; |
| 35 } |
| 36 |
| 37 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapCancel() { |
| 38 return false; |
| 39 } |
| 40 |
| 41 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() { |
| 42 return 0; |
| 43 } |
| 44 |
| 45 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() { |
| 46 return 0; |
| 47 } |
| 48 |
| 49 void TouchscreenTapSuppressionController::DropStashedTapDown() {} |
| 50 |
| 51 void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() {} |
| 52 |
| 53 void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() {} |
| 54 |
| 55 } // namespace content |
OLD | NEW |