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

Unified Diff: ui/android/view_android_unittests.cc

Issue 2770613002: Forward GenericMotionEvent to EventForwarder (Closed)
Patch Set: comments Created 3 years, 9 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/android/view_android.cc ('k') | ui/android/view_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android_unittests.cc
diff --git a/ui/android/view_android_unittests.cc b/ui/android/view_android_unittests.cc
index 56d39e8c918b37a5a8ebc6e79871ab241f8cbe6a..77c9bcae16534428660684bb80c2c99af788a641 100644
--- a/ui/android/view_android_unittests.cc
+++ b/ui/android/view_android_unittests.cc
@@ -52,9 +52,9 @@ class ViewAndroidBoundsTest : public testing::Test {
void GenerateTouchEventAt(float x, float y) {
ui::MotionEventAndroid::Pointer pointer0(0, x, y, 0, 0, 0, 0, 0);
ui::MotionEventAndroid::Pointer pointer1(0, 0, 0, 0, 0, 0, 0, 0);
- ui::MotionEventAndroid event(1.f, nullptr, JavaParamRef<jobject>(nullptr),
- 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, &pointer0,
- &pointer1);
+ ui::MotionEventAndroid event(nullptr, JavaParamRef<jobject>(nullptr), 1.f,
+ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
+ &pointer0, &pointer1);
root_.OnTouchEvent(event, false);
}
« no previous file with comments | « ui/android/view_android.cc ('k') | ui/android/view_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698