| Index: content/browser/renderer_host/input/synthetic_gesture.h
|
| diff --git a/content/browser/renderer_host/input/synthetic_gesture_new.h b/content/browser/renderer_host/input/synthetic_gesture.h
|
| similarity index 90%
|
| rename from content/browser/renderer_host/input/synthetic_gesture_new.h
|
| rename to content/browser/renderer_host/input/synthetic_gesture.h
|
| index 4e368c81202dc51fed7306c830c3474c52f372a9..c10c2fea2140dc39b9cfd23a231b7821b46e55c4 100644
|
| --- a/content/browser/renderer_host/input/synthetic_gesture_new.h
|
| +++ b/content/browser/renderer_host/input/synthetic_gesture.h
|
| @@ -26,12 +26,12 @@ class SyntheticGestureTarget;
|
| // mouse, etc) to SyntheticGestureController unit tests. The unit tests
|
| // only checks basic functionality and termination. If the gesture is
|
| // hooked up to Telemetry its correctness can additionally be tested there.
|
| -class CONTENT_EXPORT SyntheticGestureNew {
|
| +class CONTENT_EXPORT SyntheticGesture {
|
| public:
|
| - SyntheticGestureNew();
|
| - virtual ~SyntheticGestureNew();
|
| + SyntheticGesture();
|
| + virtual ~SyntheticGesture();
|
|
|
| - static scoped_ptr<SyntheticGestureNew> Create(
|
| + static scoped_ptr<SyntheticGesture> Create(
|
| const SyntheticGestureParams& gesture_params);
|
|
|
| enum Result {
|
| @@ -41,6 +41,7 @@ class CONTENT_EXPORT SyntheticGestureNew {
|
| GESTURE_SOURCE_TYPE_NOT_SUPPORTED_BY_PLATFORM,
|
| GESTURE_RESULT_MAX = GESTURE_SOURCE_TYPE_NOT_SUPPORTED_BY_PLATFORM
|
| };
|
| +
|
| // Update the state of the gesture and forward the appropriate events to the
|
| // platform. This function is called repeatedly by the synthetic gesture
|
| // controller until it stops returning GESTURE_RUNNING.
|
| @@ -48,7 +49,7 @@ class CONTENT_EXPORT SyntheticGestureNew {
|
| const base::TimeDelta& interval, SyntheticGestureTarget* target) = 0;
|
|
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(SyntheticGestureNew);
|
| + DISALLOW_COPY_AND_ASSIGN(SyntheticGesture);
|
| };
|
|
|
| } // namespace content
|
|
|