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

Unified Diff: ui/aura/gestures/gesture_recognizer_unittest.cc

Issue 2655303004: Add id properties to PointerEvent (Closed)
Patch Set: change id type to uint32_t Created 3 years, 11 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 | « no previous file | ui/events/blink/web_input_event.cc » ('j') | ui/events/event.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/gestures/gesture_recognizer_unittest.cc
diff --git a/ui/aura/gestures/gesture_recognizer_unittest.cc b/ui/aura/gestures/gesture_recognizer_unittest.cc
index 151376b3d81a37a8f4cb9f21462a70aa4f2f93a7..e481b20c6c96856e676c23a7a34161c760d1104b 100644
--- a/ui/aura/gestures/gesture_recognizer_unittest.cc
+++ b/ui/aura/gestures/gesture_recognizer_unittest.cc
@@ -645,12 +645,15 @@ void DelayByShowPressTimeout() {
void SetTouchRadius(ui::TouchEvent* event, float radius_x, float radius_y) {
// Using ctor (over direct struct access) due to it's special behavior with
// radii.
- ui::PointerDetails details(ui::EventPointerType::POINTER_TYPE_TOUCH, radius_x,
- radius_y, event->pointer_details().force,
+ ui::PointerDetails details(ui::EventPointerType::POINTER_TYPE_TOUCH,
+ radius_x,
+ radius_y,
+ event->pointer_details().force,
event->pointer_details().tilt_x,
event->pointer_details().tilt_y,
event->pointer_details().tangential_pressure,
- event->pointer_details().twist);
+ event->pointer_details().twist,
+ event->pointer_details().id);
event->set_pointer_details(details);
}
« no previous file with comments | « no previous file | ui/events/blink/web_input_event.cc » ('j') | ui/events/event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698