| 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/input/tap_suppression_controller.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/browser/renderer_host/tap_suppression_controller_client.h" | 9 #include "content/browser/renderer_host/input/tap_suppression_controller_client.
h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 TapSuppressionController::TapSuppressionController( | 13 TapSuppressionController::TapSuppressionController( |
| 14 TapSuppressionControllerClient* client) | 14 TapSuppressionControllerClient* client) |
| 15 : client_(client), | 15 : client_(client), |
| 16 state_(TapSuppressionController::NOTHING) { | 16 state_(TapSuppressionController::NOTHING) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 TapSuppressionController::~TapSuppressionController() {} | 19 TapSuppressionController::~TapSuppressionController() {} |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 case TAP_DOWN_STASHED: | 140 case TAP_DOWN_STASHED: |
| 141 TRACE_EVENT0("browser", | 141 TRACE_EVENT0("browser", |
| 142 "TapSuppressionController::TapDownTimerExpired"); | 142 "TapSuppressionController::TapDownTimerExpired"); |
| 143 client_->ForwardStashedTapDownSkipDeferral(); | 143 client_->ForwardStashedTapDownSkipDeferral(); |
| 144 state_ = NOTHING; | 144 state_ = NOTHING; |
| 145 break; | 145 break; |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 | 148 |
| 149 } // namespace content | 149 } // namespace content |
| OLD | NEW |