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 <utility> |
| 8 |
| 9 // The default implementation of the TouchscreenTapSuppressionController does |
| 10 // not suppress taps. Tap suppression is needed only on CrOS. |
| 11 |
| 12 namespace content { |
| 13 |
| 14 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController( |
| 15 RenderWidgetHostImpl* /*rwhv*/, |
| 16 GestureEventFilter* /*gef*/) |
| 17 : render_widget_host_(NULL), |
| 18 gesture_event_filter_(NULL) { |
| 19 } |
| 20 |
| 21 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {} |
| 22 |
| 23 void TouchscreenTapSuppressionController::GestureFlingCancel( |
| 24 double /*cancel_time*/) { |
| 25 } |
| 26 |
| 27 void TouchscreenTapSuppressionController::GestureFlingCancelAck( |
| 28 bool /*processed*/) { |
| 29 } |
| 30 |
| 31 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown( |
| 32 const WebKit::WebGestureEvent& event) { |
| 33 return false; |
| 34 } |
| 35 |
| 36 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTap() { |
| 37 return false; |
| 38 } |
| 39 |
| 40 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapCancel() { |
| 41 return false; |
| 42 } |
| 43 |
| 44 void TouchscreenTapSuppressionController::GestureTapDownTimerExpired() {} |
| 45 |
| 46 } // namespace content |
OLD | NEW |