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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/tap_suppression_controller.cc
diff --git a/content/browser/renderer_host/tap_suppression_controller.cc b/content/browser/renderer_host/tap_suppression_controller.cc
deleted file mode 100644
index 5ae089a18f705f09aba4a450e56e56bc36f6f85c..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/tap_suppression_controller.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/browser/renderer_host/tap_suppression_controller.h"
-
-#include <utility>
-
-// The default implementation of the TapSuppressionController does not
-// suppress taps. Tap suppression is needed only on CrOS.
-
-namespace content {
-
-TapSuppressionController::TapSuppressionController(RenderWidgetHostImpl*)
- : render_widget_host_(NULL) {}
-
-TapSuppressionController::~TapSuppressionController() {}
-
-bool TapSuppressionController::ShouldSuppressMouseUp() { return false; }
-
-bool TapSuppressionController::ShouldDeferMouseDown(
- const WebKit::WebMouseEvent& event) {
- return false;
-}
-
-void TapSuppressionController::GestureFlingCancelAck(bool) {}
-void TapSuppressionController::GestureFlingCancel(double) {}
-void TapSuppressionController::MouseDownTimerExpired() {}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698