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

Side by Side Diff: content/browser/renderer_host/input/touchpad_tap_suppression_controller_aura.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/touchpad_tap_suppression_controller.h" 5 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h"
6 6
7 #include "content/browser/renderer_host/input/input_router.h" 7 #include "content/browser/renderer_host/input/input_router.h"
8 #include "content/browser/renderer_host/tap_suppression_controller.h" 8 #include "content/browser/renderer_host/input/tap_suppression_controller.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 #include "ui/base/gestures/gesture_configuration.h" 10 #include "ui/base/gestures/gesture_configuration.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 TouchpadTapSuppressionController::TouchpadTapSuppressionController( 14 TouchpadTapSuppressionController::TouchpadTapSuppressionController(
15 InputRouter* input_router) 15 InputRouter* input_router)
16 : input_router_(input_router), 16 : input_router_(input_router),
17 controller_(new TapSuppressionController(this)) { 17 controller_(new TapSuppressionController(this)) {
18 } 18 }
19 19
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 input_router_->SendMouseEventImmediately(stashed_mouse_down_); 56 input_router_->SendMouseEventImmediately(stashed_mouse_down_);
57 } 57 }
58 58
59 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() { 59 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() {
60 // Mouse downs are not handled by gesture event filter; so, they are 60 // Mouse downs are not handled by gesture event filter; so, they are
61 // immediately forwarded to the renderer. 61 // immediately forwarded to the renderer.
62 input_router_->SendMouseEventImmediately(stashed_mouse_down_); 62 input_router_->SendMouseEventImmediately(stashed_mouse_down_);
63 } 63 }
64 64
65 } // namespace content 65 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698