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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc

Issue 1707943002: Add SyntheticPointerActionParams used in Chromedriver extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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/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..1beaab8b6e9a4da7e9d9761e99fd1cc0783ddbca 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc
@@ -1474,7 +1474,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
gfx::PointF position(54, 89);
scoped_ptr<SyntheticPointerAction> gesture(new SyntheticPointerAction(
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::PRESS,
+ SyntheticGestureParams::TOUCH_INPUT, SyntheticGestureParams::PRESS,
&synthetic_pointer, position));
QueueSyntheticGesture(std::move(gesture));
FlushInputUntilComplete();
@@ -1488,7 +1488,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
position.SetPoint(79, 132);
gesture.reset(new SyntheticPointerAction(SyntheticGestureParams::TOUCH_INPUT,
- SyntheticGesture::PRESS,
+ SyntheticGestureParams::PRESS,
&synthetic_pointer, position));
QueueSyntheticGesture(std::move(gesture));
FlushInputUntilComplete();
@@ -1504,7 +1504,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
int index = 1;
position.SetPoint(133, 156);
gesture.reset(new SyntheticPointerAction(
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::MOVE,
+ SyntheticGestureParams::TOUCH_INPUT, SyntheticGestureParams::MOVE,
&synthetic_pointer, position, index));
QueueSyntheticGesture(std::move(gesture));
FlushInputUntilComplete();
@@ -1517,7 +1517,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) {
ASSERT_EQ(pointer_touch_target->touch_length(), 2U);
gesture.reset(new SyntheticPointerAction(
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::RELEASE,
+ SyntheticGestureParams::TOUCH_INPUT, SyntheticGestureParams::RELEASE,
&synthetic_pointer, position, index));
QueueSyntheticGesture(std::move(gesture));
FlushInputUntilComplete();

Powered by Google App Engine
This is Rietveld 408576698