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

Unified Diff: content/browser/renderer_host/input/web_input_event_util_unittest.cc

Issue 1147083005: Separate motion event touch geometry orientation from stylus orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Aura Created 5 years, 7 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/browser/renderer_host/input/motion_event_web.cc ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/web_input_event_util_unittest.cc
diff --git a/content/browser/renderer_host/input/web_input_event_util_unittest.cc b/content/browser/renderer_host/input/web_input_event_util_unittest.cc
index 862d6c1486393143eb4d4026236233bc7be69290..40743d26b457af62ec6626ff44203a556867c146 100644
--- a/content/browser/renderer_host/input/web_input_event_util_unittest.cc
+++ b/content/browser/renderer_host/input/web_input_event_util_unittest.cc
@@ -34,7 +34,7 @@ TEST(WebInputEventUtilTest, MotionEventConversion) {
pointer.raw_y = 25;
pointer.pressure = 30;
pointer.touch_minor = 35;
- pointer.orientation = static_cast<float>(-M_PI / 2);
+ pointer.touch_orientation = static_cast<float>(-M_PI / 2);
MotionEventGeneric event(
MotionEvent::ACTION_DOWN, base::TimeTicks::Now(), pointer);
event.set_flags(ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN);
« no previous file with comments | « content/browser/renderer_host/input/motion_event_web.cc ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698