| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/tap_suppression_controller.h" | 5 #include "content/browser/renderer_host/tap_suppression_controller.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 // The default implementation of the TapSuppressionController does not | 9 // The default implementation of the TapSuppressionController does not |
| 10 // suppress taps. Tap suppression is needed only on CrOS. | 10 // suppress taps. Tap suppression is needed only on CrOS. |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 TapSuppressionController::TapSuppressionController(RenderWidgetHostImpl*) | 14 TapSuppressionController::TapSuppressionController(RenderWidgetHostImpl*) |
| 15 : render_widget_host_(NULL) {} | 15 : render_widget_host_(NULL) {} |
| 16 | 16 |
| 17 TapSuppressionController::~TapSuppressionController() {} | 17 TapSuppressionController::~TapSuppressionController() {} |
| 18 | 18 |
| 19 bool TapSuppressionController::ShouldSuppressMouseUp() { return false; } | 19 bool TapSuppressionController::ShouldSuppressMouseUp() { return false; } |
| 20 | 20 |
| 21 bool TapSuppressionController::ShouldDeferMouseDown( | 21 bool TapSuppressionController::ShouldDeferMouseDown( |
| 22 const WebKit::WebMouseEvent& event) { | 22 const WebKit::WebMouseEvent& event) { |
| 23 return false; | 23 return false; |
| 24 } | 24 } |
| 25 | 25 |
| 26 void TapSuppressionController::GestureFlingCancelAck(bool) {} | 26 void TapSuppressionController::GestureFlingCancelAck(bool) {} |
| 27 void TapSuppressionController::GestureFlingCancel(double) {} | 27 void TapSuppressionController::GestureFlingCancel(double) {} |
| 28 void TapSuppressionController::MouseDownTimerExpired() {} | 28 void TapSuppressionController::MouseDownTimerExpired() {} |
| 29 | 29 |
| 30 } // namespace content. | 30 } // namespace content |
| OLD | NEW |