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

Unified Diff: ash/host/ash_window_tree_host_x11_unittest.cc

Issue 2655303004: Add id properties to PointerEvent (Closed)
Patch Set: pointer id 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 | « no previous file | ash/touch/touch_hud_debug.cc » ('j') | ui/events/blink/web_input_event_builders_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_x11_unittest.cc
diff --git a/ash/host/ash_window_tree_host_x11_unittest.cc b/ash/host/ash_window_tree_host_x11_unittest.cc
index 3c26367f03187c1dd9133840c662dbd57a24532c..955e552872332d43c50990f3b5942ce171d958d0 100644
--- a/ash/host/ash_window_tree_host_x11_unittest.cc
+++ b/ash/host/ash_window_tree_host_x11_unittest.cc
@@ -33,7 +33,7 @@ class RootWindowEventHandler : public ui::EventHandler {
// ui::EventHandler:
void OnTouchEvent(ui::TouchEvent* event) override {
- last_touch_id_ = event->touch_id();
+ last_touch_id_ = event->pointer_details().id;
last_touch_type_ = event->type();
last_touch_location_ = event->location();
}
« no previous file with comments | « no previous file | ash/touch/touch_hud_debug.cc » ('j') | ui/events/blink/web_input_event_builders_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698