| 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/input/touchscreen_tap_suppression_contro
    ller.h" | 
| 6 | 6 | 
| 7 #include "content/browser/renderer_host/gesture_event_filter.h" | 7 #include "content/browser/renderer_host/input/gesture_event_filter.h" | 
| 8 #include "content/browser/renderer_host/tap_suppression_controller.h" | 8 #include "content/browser/renderer_host/input/tap_suppression_controller.h" | 
| 9 #include "ui/base/gestures/gesture_configuration.h" | 9 #include "ui/base/gestures/gesture_configuration.h" | 
| 10 | 10 | 
| 11 namespace content { | 11 namespace content { | 
| 12 | 12 | 
| 13 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController( | 13 TouchscreenTapSuppressionController::TouchscreenTapSuppressionController( | 
| 14     GestureEventFilter* gef) | 14     GestureEventFilter* gef) | 
| 15     : gesture_event_filter_(gef), | 15     : gesture_event_filter_(gef), | 
| 16       controller_(new TapSuppressionController(this)) { | 16       controller_(new TapSuppressionController(this)) { | 
| 17 } | 17 } | 
| 18 | 18 | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 57 | 57 | 
| 58 void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() { | 58 void TouchscreenTapSuppressionController::ForwardStashedTapDownForDeferral() { | 
| 59   gesture_event_filter_->ForwardGestureEventForDeferral(stashed_tap_down_); | 59   gesture_event_filter_->ForwardGestureEventForDeferral(stashed_tap_down_); | 
| 60 } | 60 } | 
| 61 | 61 | 
| 62 void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() { | 62 void TouchscreenTapSuppressionController::ForwardStashedTapDownSkipDeferral() { | 
| 63   gesture_event_filter_->ForwardGestureEventSkipDeferral(stashed_tap_down_); | 63   gesture_event_filter_->ForwardGestureEventSkipDeferral(stashed_tap_down_); | 
| 64 } | 64 } | 
| 65 | 65 | 
| 66 }  // namespace content | 66 }  // namespace content | 
| OLD | NEW | 
|---|