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

Unified Diff: content/renderer/pepper/event_conversion_unittest.cc

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused code (event_sender.cc) Created 5 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 | « content/renderer/pepper/event_conversion.cc ('k') | content/shell/renderer/test_runner/event_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/event_conversion_unittest.cc
diff --git a/content/renderer/pepper/event_conversion_unittest.cc b/content/renderer/pepper/event_conversion_unittest.cc
index 8a22a939e8da459ab08932d8fdaa8fd40cef6f75..c39d6f1516620b06a2894441a85d633780225824 100644
--- a/content/renderer/pepper/event_conversion_unittest.cc
+++ b/content/renderer/pepper/event_conversion_unittest.cc
@@ -32,6 +32,9 @@ class EventConversionTest : public ::testing::Test {
EXPECT_EQ(expected.touches[i].radiusY, actual.touches[j].radiusY);
EXPECT_EQ(expected.touches[i].rotationAngle,
actual.touches[j].rotationAngle);
+ EXPECT_EQ(expected.touches[i].tilt, actual.touches[j].tilt);
+ EXPECT_EQ(expected.touches[i].tiltDirection,
+ actual.touches[j].tiltDirection);
EXPECT_EQ(expected.touches[i].force, actual.touches[j].force);
}
}
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | content/shell/renderer/test_runner/event_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698