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

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

Issue 235003005: Consolidate all touch/gesture related constants in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compilation fixes Created 6 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2014 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 GestureEventQueue* /*geq*/)
16 : gesture_event_queue_(NULL) {}
17
18 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {}
19
20 void TouchscreenTapSuppressionController::GestureFlingCancel() {}
21
22 void TouchscreenTapSuppressionController::GestureFlingCancelAck(
23 bool /*processed*/) {
24 }
25
26 bool TouchscreenTapSuppressionController::FilterTapEvent(
27 const GestureEventWithLatencyInfo& /*event*/) {
28 return false;
29 }
30
31 int TouchscreenTapSuppressionController::MaxCancelToDownTimeInMs() {
32 return 0;
33 }
34
35 int TouchscreenTapSuppressionController::MaxTapGapTimeInMs() {
36 return 0;
37 }
38
39 void TouchscreenTapSuppressionController::DropStashedTapDown() {}
40
41 void TouchscreenTapSuppressionController::ForwardStashedTapDown() {}
42
43 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698