Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: content/browser/renderer_host/input/touchpad_tap_suppression_controller.cc

Issue 43203004: Remove GestureEventFilter and clean up related bits assuming that we turn on Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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/touchpad_tap_suppression_controlle r.h"
6
7 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
8 #include "content/browser/renderer_host/input/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 TouchpadTapSuppressionControllerClient* /* client */)
17 : client_(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::ForwardStashedTapDown() {
46 }
47
48 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698