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

Unified Diff: content/browser/renderer_host/tap_suppression_controller_client.h

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, 5 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_client.h
diff --git a/content/browser/renderer_host/tap_suppression_controller_client.h b/content/browser/renderer_host/tap_suppression_controller_client.h
deleted file mode 100644
index b6084c3e7d4936bd7b4d0f088fcea065b4b2d3f6..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/tap_suppression_controller_client.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_CLIENT_H_
-#define CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_CLIENT_H_
-
-namespace content {
-
-// This class provides an interface for callbacks made by
-// TapSuppressionController.
-class TapSuppressionControllerClient {
- public:
- virtual ~TapSuppressionControllerClient() {}
-
- // Derived classes should implement this function to return the maximum time
- // they allow between a GestureFlingCancel and its corresponding tap down.
- virtual int MaxCancelToDownTimeInMs() = 0;
-
- // Derived classes should implement this function to return the maximum time
- // they allow between a single tap's down and up events.
- virtual int MaxTapGapTimeInMs() = 0;
-
- // Called whenever the deferred tap down (if saved) should be dropped totally.
- virtual void DropStashedTapDown() = 0;
-
- // Called whenever the deferred tap down (if saved) should be forwarded to the
- // renderer. In this case, the tap down should go back to normal path it was
- // on before being deferred.
- virtual void ForwardStashedTapDownForDeferral() = 0;
-
- // Called whenever the deferred tap down (if saved) should be forwarded to the
- // renderer. In this case, the tap down should skip deferral filter, because
- // it is handled here, and there is no need to delay it more.
- virtual void ForwardStashedTapDownSkipDeferral() = 0;
-
- protected:
- TapSuppressionControllerClient() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(TapSuppressionControllerClient);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_TAP_SUPPRESSION_CONTROLLER_CLIENT_H_
« no previous file with comments | « content/browser/renderer_host/tap_suppression_controller.cc ('k') | content/browser/renderer_host/touch_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698