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