OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/touchscreen_tap_suppression_controller.h
" | 5 #include "content/browser/renderer_host/touchscreen_tap_suppression_controller.h
" |
6 | 6 |
7 #include "content/browser/renderer_host/tap_suppression_controller.h" | 7 #include "content/browser/renderer_host/tap_suppression_controller.h" |
8 | 8 |
9 // This is the stub implementation of TouchscreenTapSuppressionController which | 9 // This is the stub implementation of TouchscreenTapSuppressionController which |
10 // is used on platforms that do not need tap suppression for touchscreen. | 10 // is used on platforms that do not need tap suppression for touchscreen. |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController( | 14 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController( |
15 GestureEventFilter* /*gef*/) | 15 GestureEventFilter* /*gef*/) |
16 : gesture_event_filter_(NULL), | 16 : gesture_event_filter_(NULL) {} |
17 controller_(NULL) { | |
18 } | |
19 | 17 |
20 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {} | 18 TouchscreenTapSuppressionController::~TouchscreenTapSuppressionController() {} |
21 | 19 |
22 void TouchscreenTapSuppressionController::GestureFlingCancel() {} | 20 void TouchscreenTapSuppressionController::GestureFlingCancel() {} |
23 | 21 |
24 void TouchscreenTapSuppressionController::GestureFlingCancelAck( | 22 void TouchscreenTapSuppressionController::GestureFlingCancelAck( |
25 bool /*processed*/) { | 23 bool /*processed*/) { |
26 } | 24 } |
27 | 25 |
28 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown( | 26 bool TouchscreenTapSuppressionController::ShouldDeferGestureTapDown( |
(...skipping 17 matching lines...) Expand all Loading... |
46 return 0; | 44 return 0; |
47 } | 45 } |
48 | 46 |
49 void TouchscreenTapSuppressionController::DropStashedTapDown() {} | 47 void TouchscreenTapSuppressionController::DropStashedTapDown() {} |
50 | 48 |
51 void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() {} | 49 void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() {} |
52 | 50 |
53 void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() {} | 51 void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() {} |
54 | 52 |
55 } // namespace content | 53 } // namespace content |
OLD | NEW |