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

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

Issue 20007002: Move more input-related files to renderer_host/input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper .gypi alpha ordering Created 7 years, 4 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 (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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698