| Index: content/browser/renderer_host/input/synthetic_pointer_action.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_pointer_gesture.cc b/content/browser/renderer_host/input/synthetic_pointer_action.cc
|
| similarity index 87%
|
| rename from content/browser/renderer_host/input/synthetic_pointer_gesture.cc
|
| rename to content/browser/renderer_host/input/synthetic_pointer_action.cc
|
| index 60b5eefc90796def4b1964042b8c89d0129cc97f..2577e3f5497fed988c2804978f6d7073954514ab 100644
|
| --- a/content/browser/renderer_host/input/synthetic_pointer_gesture.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_pointer_action.cc
|
| @@ -2,7 +2,7 @@
|
| // 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/input/synthetic_pointer_gesture.h"
|
| +#include "content/browser/renderer_host/input/synthetic_pointer_action.h"
|
|
|
| #include "base/logging.h"
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| @@ -10,7 +10,7 @@
|
|
|
| namespace content {
|
|
|
| -SyntheticPointerGesture::SyntheticPointerGesture(
|
| +SyntheticPointerAction::SyntheticPointerAction(
|
| SyntheticGestureParams::GestureSourceType gesture_source_type,
|
| PointerActionType pointer_action_type,
|
| SyntheticPointer* synthetic_pointer,
|
| @@ -22,9 +22,9 @@ SyntheticPointerGesture::SyntheticPointerGesture(
|
| index_(index),
|
| synthetic_pointer_(synthetic_pointer) {}
|
|
|
| -SyntheticPointerGesture::~SyntheticPointerGesture() {}
|
| +SyntheticPointerAction::~SyntheticPointerAction() {}
|
|
|
| -SyntheticGesture::Result SyntheticPointerGesture::ForwardInputEvents(
|
| +SyntheticGesture::Result SyntheticPointerAction::ForwardInputEvents(
|
| const base::TimeTicks& timestamp,
|
| SyntheticGestureTarget* target) {
|
| if (gesture_source_type_ == SyntheticGestureParams::DEFAULT_INPUT)
|
| @@ -36,7 +36,7 @@ SyntheticGesture::Result SyntheticPointerGesture::ForwardInputEvents(
|
| return SyntheticGesture::GESTURE_FINISHED;
|
| }
|
|
|
| -void SyntheticPointerGesture::ForwardTouchOrMouseInputEvents(
|
| +void SyntheticPointerAction::ForwardTouchOrMouseInputEvents(
|
| const base::TimeTicks& timestamp,
|
| SyntheticGestureTarget* target) {
|
| switch (pointer_action_type_) {
|
|
|