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

Unified Diff: ui/events/event_unittest.cc

Issue 2720133002: Make pinch zoom work on chromeos by setting touch id correctly (Closed)
Patch Set: pinch zoom Created 3 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/events/event.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_unittest.cc
diff --git a/ui/events/event_unittest.cc b/ui/events/event_unittest.cc
index da6c3023524f28222275bef93f91df0fa1799745..1f1b8a12126f68f457ec8ef56ef349e41b8f3514 100644
--- a/ui/events/event_unittest.cc
+++ b/ui/events/event_unittest.cc
@@ -686,7 +686,8 @@ TEST(EventTest, PointerDetailsStylus) {
/* tilt_x */ 45.0f,
/* tilt_y */ -45.0f,
/* tangential_pressure */ 0.7f,
- /* twist */ 196);
+ /* twist */ 196,
+ /* pointer_id*/ 0);
stylus_event.set_pointer_details(pointer_details);
EXPECT_EQ(EventPointerType::POINTER_TYPE_PEN,
@@ -723,7 +724,8 @@ TEST(EventTest, PointerDetailsCustomTouch) {
/* tilt_x */ 45.0f,
/* tilt_y */ -45.0f,
/* tangential_pressure */ 0.7f,
- /* twist */ 196);
+ /* twist */ 196,
+ /* pointer_id*/ 0);
touch_event.set_pointer_details(pointer_details);
EXPECT_EQ(EventPointerType::POINTER_TYPE_PEN,
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698