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

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

Issue 12087140: Suppress touchscreen tap immediately after a GestureFlingCancel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
mohsen 2013/02/04 15:09:05 This file is renamed to touchpad_tap_suppression_c
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/renderer_host/tap_suppression_controller.h"
6
7 #include <utility>
8
9 // The default implementation of the TapSuppressionController does not
10 // suppress taps. Tap suppression is needed only on CrOS.
11
12 namespace content {
13
14 TapSuppressionController::TapSuppressionController(RenderWidgetHostImpl*)
15 : render_widget_host_(NULL) {}
16
17 TapSuppressionController::~TapSuppressionController() {}
18
19 bool TapSuppressionController::ShouldSuppressMouseUp() { return false; }
20
21 bool TapSuppressionController::ShouldDeferMouseDown(
22 const WebKit::WebMouseEvent& event) {
23 return false;
24 }
25
26 void TapSuppressionController::GestureFlingCancelAck(bool) {}
27 void TapSuppressionController::GestureFlingCancel(double) {}
28 void TapSuppressionController::MouseDownTimerExpired() {}
29
30 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698