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

Side by Side Diff: content/browser/renderer_host/touchscreen_tap_suppression_controller_stub.cc

Issue 12087140: Suppress touchscreen tap immediately after a GestureFlingCancel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allowed GFC Ack in NOTHING state + Resolved a link error on win Created 7 years, 9 months 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 (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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698