Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc

Issue 20007002: Move more input-related files to renderer_host/input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper .gypi alpha ordering Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698