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

Side by Side Diff: content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.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/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 GestureEventFilter* /*gef*/)
16 : gesture_event_filter_(NULL) {}
17
18 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {}
19
20 void TouchscreenTapSuppressionController::GestureFlingCancel() {}
21
22 void TouchscreenTapSuppressionController::GestureFlingCancelAck(
23 bool /*processed*/) {
24 }
25
26 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown(
27 const GestureEventWithLatencyInfo& /*event*/) {
28 return false;
29 }
30
31 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTap() {
32 return false;
33 }
34
35 bool TouchscreenTapSuppressionController::ShouldSuppressGestureTapCancel() {
36 return false;
37 }
38
39 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() {
40 return 0;
41 }
42
43 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() {
44 return 0;
45 }
46
47 void TouchscreenTapSuppressionController::DropStashedTapDown() {}
48
49 void TouchscreenTapSuppressionController::ForwardStashedTapDown() {}
50
51 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698