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/touchpad_tap_suppression_controller.h" | 5 #include "content/browser/renderer_host/touchpad_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 #include "content/browser/renderer_host/tap_suppression_controller_client.h" | 8 #include "content/browser/renderer_host/tap_suppression_controller_client.h" |
9 | 9 |
10 // The default implementation of the TouchpadTapSuppressionController does not | 10 // The default implementation of the TouchpadTapSuppressionController does not |
11 // suppress taps. Touchpad tap suppression is needed only on CrOS. | 11 // suppress taps. Touchpad tap suppression is needed only on CrOS. |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 TouchpadTapSuppressionController::TouchpadTapSuppressionController( | 15 TouchpadTapSuppressionController::TouchpadTapSuppressionController( |
16 RenderWidgetHostImpl* /*rwhv*/) | 16 RenderWidgetHostImpl* /*rwhv*/) |
17 : render_widget_host_(NULL), | 17 : render_widget_host_(NULL) {} |
18 controller_(NULL) { | |
19 } | |
20 | 18 |
21 TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {} | 19 TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {} |
22 | 20 |
23 void TouchpadTapSuppressionController::GestureFlingCancel() {} | 21 void TouchpadTapSuppressionController::GestureFlingCancel() {} |
24 | 22 |
25 void TouchpadTapSuppressionController::GestureFlingCancelAck( | 23 void TouchpadTapSuppressionController::GestureFlingCancelAck( |
26 bool /*processed*/) { | 24 bool /*processed*/) { |
27 } | 25 } |
28 | 26 |
29 bool TouchpadTapSuppressionController::ShouldDeferMouseDown( | 27 bool TouchpadTapSuppressionController::ShouldDeferMouseDown( |
(...skipping 14 matching lines...) Expand all Loading... |
44 void TouchpadTapSuppressionController::DropStashedTapDown() { | 42 void TouchpadTapSuppressionController::DropStashedTapDown() { |
45 } | 43 } |
46 | 44 |
47 void TouchpadTapSuppressionController::ForwardStashedTapDownForDeferral() { | 45 void TouchpadTapSuppressionController::ForwardStashedTapDownForDeferral() { |
48 } | 46 } |
49 | 47 |
50 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() { | 48 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() { |
51 } | 49 } |
52 | 50 |
53 } // namespace content | 51 } // namespace content |
OLD | NEW |