| Index: content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
|
| index 9369bfdfdc8c35149c6fdf55a9932e8e7d86eee9..1ce6db1c920f74b26822eb9b490ad45a6811b830 100644
|
| --- a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
|
| @@ -1474,8 +1474,9 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
|
|
|
| gfx::PointF position(54, 89);
|
| scoped_ptr<SyntheticPointerAction> gesture(new SyntheticPointerAction(
|
| - SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::PRESS,
|
| - &synthetic_pointer, position));
|
| + SyntheticGestureParams::TOUCH_INPUT,
|
| + SyntheticGestureParams::PointerActionType::PRESS, &synthetic_pointer,
|
| + position));
|
| QueueSyntheticGesture(std::move(gesture));
|
| FlushInputUntilComplete();
|
|
|
| @@ -1487,9 +1488,10 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
|
| ASSERT_EQ(pointer_touch_target->touch_length(), 1U);
|
|
|
| position.SetPoint(79, 132);
|
| - gesture.reset(new SyntheticPointerAction(SyntheticGestureParams::TOUCH_INPUT,
|
| - SyntheticGesture::PRESS,
|
| - &synthetic_pointer, position));
|
| + gesture.reset(new SyntheticPointerAction(
|
| + SyntheticGestureParams::TOUCH_INPUT,
|
| + SyntheticGestureParams::PointerActionType::PRESS, &synthetic_pointer,
|
| + position));
|
| QueueSyntheticGesture(std::move(gesture));
|
| FlushInputUntilComplete();
|
|
|
| @@ -1504,8 +1506,9 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
|
| int index = 1;
|
| position.SetPoint(133, 156);
|
| gesture.reset(new SyntheticPointerAction(
|
| - SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::MOVE,
|
| - &synthetic_pointer, position, index));
|
| + SyntheticGestureParams::TOUCH_INPUT,
|
| + SyntheticGestureParams::PointerActionType::MOVE, &synthetic_pointer,
|
| + position, index));
|
| QueueSyntheticGesture(std::move(gesture));
|
| FlushInputUntilComplete();
|
|
|
| @@ -1517,8 +1520,9 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
|
| ASSERT_EQ(pointer_touch_target->touch_length(), 2U);
|
|
|
| gesture.reset(new SyntheticPointerAction(
|
| - SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::RELEASE,
|
| - &synthetic_pointer, position, index));
|
| + SyntheticGestureParams::TOUCH_INPUT,
|
| + SyntheticGestureParams::PointerActionType::RELEASE, &synthetic_pointer,
|
| + position, index));
|
| QueueSyntheticGesture(std::move(gesture));
|
| FlushInputUntilComplete();
|
|
|
|
|