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

Unified Diff: ui/views/widget/widget_unittest.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/base/x/x11_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_unittest.cc
diff --git a/ui/views/widget/widget_unittest.cc b/ui/views/widget/widget_unittest.cc
index ffac6175560b2b46fd5784ffd661e0516887fa99..257f08e26a61bf3a82c92228e18dbc355d1880fb 100644
--- a/ui/views/widget/widget_unittest.cc
+++ b/ui/views/widget/widget_unittest.cc
@@ -1317,8 +1317,8 @@ TEST_F(WidgetTest, WheelEventsFromScrollEventTarget) {
gfx::Point(65, 5),
ui::EventTimeForNow(),
0,
- 0,
- 20,
+ 0, 20,
+ 0, 20,
2);
widget->OnScrollEvent(&scroll);
@@ -1335,8 +1335,8 @@ TEST_F(WidgetTest, WheelEventsFromScrollEventTarget) {
gfx::Point(5, 5),
ui::EventTimeForNow(),
0,
- 0,
- 20,
+ 0, 20,
+ 0, 20,
2);
widget->OnScrollEvent(&scroll2);
EXPECT_EQ(1, focused_view->GetEventCount(ui::ET_SCROLL));
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698