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

Unified Diff: ash/display/window_tree_host_manager_unittest.cc

Issue 1300803003: Drop ui::TouchEvent shims for radius_{x,y} and force (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 | « ash/display/root_window_transformers_unittest.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/window_tree_host_manager_unittest.cc
diff --git a/ash/display/window_tree_host_manager_unittest.cc b/ash/display/window_tree_host_manager_unittest.cc
index 675484f7b298cc22ecc99d8482da31b205d88e57..99d69502f8fac6f55c16129d74681e3ee50d07a3 100644
--- a/ash/display/window_tree_host_manager_unittest.cc
+++ b/ash/display/window_tree_host_manager_unittest.cc
@@ -299,8 +299,8 @@ class TestEventHandler : public ui::EventHandler {
// entire root window.
if (target->name() != kDesktopBackgroundView)
return;
- touch_radius_x_ = event->radius_x();
- touch_radius_y_ = event->radius_y();
+ touch_radius_x_ = event->pointer_details().radius_x();
+ touch_radius_y_ = event->pointer_details().radius_y();
event->StopPropagation();
}
« no previous file with comments | « ash/display/root_window_transformers_unittest.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698