Index: content/port/browser/synthetic_gesture.h |
diff --git a/content/port/browser/synthetic_gesture.h b/content/port/browser/synthetic_gesture.h |
deleted file mode 100644 |
index 4330d76c2161a6c04bcb4520c44c4db943154b2e..0000000000000000000000000000000000000000 |
--- a/content/port/browser/synthetic_gesture.h |
+++ /dev/null |
@@ -1,36 +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_PORT_BROWSER_SYNTHETIC_GESTURE_H_ |
-#define CONTENT_PORT_BROWSER_SYNTHETIC_GESTURE_H_ |
- |
-#include "base/memory/ref_counted.h" |
-#include "base/time/time.h" |
- |
-namespace content { |
- |
-class RenderWidgetHost; |
- |
-// This is a base class representing a single scroll gesture. These gestures are |
-// paired with the rendering benchmarking system to (automatically) measure how |
-// smoothnly chrome is responding to user input. |
-class SyntheticGesture : public base::RefCounted<SyntheticGesture> { |
- public: |
- |
- // When called, the gesture should compute its state at the provided timestamp |
- // and send the right input events to the provided RenderWidgetHost to |
- // simulate the gesture having run up to that point in time. |
- // |
- // This function should return true until the gesture is over. A false return |
- // value will stop ticking the gesture and clean it up. |
- virtual bool ForwardInputEvents(base::TimeTicks now, |
- RenderWidgetHost* host) = 0; |
- protected: |
- friend class base::RefCounted<SyntheticGesture>; |
- virtual ~SyntheticGesture() {} |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_PORT_BROWSER_SYNTHETIC_GESTURE_H_ |