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

Unified Diff: ui/aura/test/event_generator.cc

Issue 12208118: Add support for ordinal scroll amounts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix interactive_ui_tests failure Created 7 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
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/base/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/event_generator.cc
diff --git a/ui/aura/test/event_generator.cc b/ui/aura/test/event_generator.cc
index fe05133e8636943ff7a9835f59ec1e7b6ccc0ac8..82735fc36509bc93155564180fccfb3130ced3ce 100644
--- a/ui/aura/test/event_generator.cc
+++ b/ui/aura/test/event_generator.cc
@@ -312,8 +312,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- 0,
- 0,
+ 0, 0,
+ 0, 0,
num_fingers);
Dispatch(&fling_cancel);
@@ -325,8 +325,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- dx,
- dy,
+ dx, dy,
+ dx, dy,
num_fingers);
Dispatch(&move);
}
@@ -335,8 +335,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- x_offset,
- y_offset,
+ x_offset, y_offset,
+ x_offset, y_offset,
num_fingers);
Dispatch(&fling_start);
}
@@ -351,8 +351,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- 0,
- 0,
+ 0, 0,
+ 0, 0,
num_fingers);
Dispatch(&fling_cancel);
@@ -362,8 +362,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- offsets[i].x(),
- offsets[i].y(),
+ offsets[i].x(), offsets[i].y(),
+ offsets[i].x(), offsets[i].y(),
num_fingers);
Dispatch(&scroll);
}
@@ -372,8 +372,8 @@ void EventGenerator::ScrollSequence(const gfx::Point& start,
start,
timestamp,
0,
- offsets[steps - 1].x(),
- offsets[steps - 1].y(),
+ offsets[steps - 1].x(), offsets[steps - 1].y(),
+ offsets[steps - 1].x(), offsets[steps - 1].y(),
num_fingers);
Dispatch(&fling_start);
}
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/base/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698