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

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

Issue 62443007: Replace old with new synthetic gesture framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declare SyntheticGestureController. Created 7 years, 1 month 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/synthetic_gesture_calculator.h
diff --git a/content/browser/renderer_host/synthetic_gesture_calculator.h b/content/browser/renderer_host/synthetic_gesture_calculator.h
deleted file mode 100644
index c2af4978ac48f178b2c56d31b359fed39f948720..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/synthetic_gesture_calculator.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 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_SYNTHETIC_GESTURE_CALCULATOR_H_
-#define CONTENT_BROWSER_RENDERER_HOST_SYNTHETIC_GESTURE_CALCULATOR_H_
-
-#include "base/time/time.h"
-
-namespace content {
-
-// A utility class to calculate the delta for synthetic gesture events.
-class SyntheticGestureCalculator {
- public:
- SyntheticGestureCalculator();
- ~SyntheticGestureCalculator();
-
- float GetDelta(base::TimeTicks now, base::TimeDelta desired_interval);
-
- private:
- base::TimeTicks last_tick_time_;
-
- DISALLOW_COPY_AND_ASSIGN(SyntheticGestureCalculator);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_SYNTHETIC_GESTURE_CALCULATOR_H_

Powered by Google App Engine
This is Rietveld 408576698