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

Side by Side Diff: content/browser/renderer_host/touchpad_tap_suppression_controller.cc

Issue 16703020: Rewrite scoped_ptr<T>(NULL) to use the default ctor in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up insanity Created 7 years, 6 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 | Annotate | Revision Log
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/touchpad_tap_suppression_controller.h"
6 6
7 #include "content/browser/renderer_host/tap_suppression_controller.h" 7 #include "content/browser/renderer_host/tap_suppression_controller.h"
8 #include "content/browser/renderer_host/tap_suppression_controller_client.h" 8 #include "content/browser/renderer_host/tap_suppression_controller_client.h"
9 9
10 // The default implementation of the TouchpadTapSuppressionController does not 10 // The default implementation of the TouchpadTapSuppressionController does not
11 // suppress taps. Touchpad tap suppression is needed only on CrOS. 11 // suppress taps. Touchpad tap suppression is needed only on CrOS.
12 12
13 namespace content { 13 namespace content {
14 14
15 TouchpadTapSuppressionController::TouchpadTapSuppressionController( 15 TouchpadTapSuppressionController::TouchpadTapSuppressionController(
16 RenderWidgetHostImpl* /*rwhv*/) 16 RenderWidgetHostImpl* /*rwhv*/)
17 : render_widget_host_(NULL), 17 : render_widget_host_(NULL) {}
18 controller_(NULL) {
19 }
20 18
21 TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {} 19 TouchpadTapSuppressionController::~TouchpadTapSuppressionController() {}
22 20
23 void TouchpadTapSuppressionController::GestureFlingCancel() {} 21 void TouchpadTapSuppressionController::GestureFlingCancel() {}
24 22
25 void TouchpadTapSuppressionController::GestureFlingCancelAck( 23 void TouchpadTapSuppressionController::GestureFlingCancelAck(
26 bool /*processed*/) { 24 bool /*processed*/) {
27 } 25 }
28 26
29 bool TouchpadTapSuppressionController::ShouldDeferMouseDown( 27 bool TouchpadTapSuppressionController::ShouldDeferMouseDown(
(...skipping 14 matching lines...) Expand all
44 void TouchpadTapSuppressionController::DropStashedTapDown() { 42 void TouchpadTapSuppressionController::DropStashedTapDown() {
45 } 43 }
46 44
47 void TouchpadTapSuppressionController::ForwardStashedTapDownForDeferral() { 45 void TouchpadTapSuppressionController::ForwardStashedTapDownForDeferral() {
48 } 46 }
49 47
50 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() { 48 void TouchpadTapSuppressionController::ForwardStashedTapDownSkipDeferral() {
51 } 49 }
52 50
53 } // namespace content 51 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698