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

Unified Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 2782893002: WebMouseEvent coordinates are now fractional & private (Closed)
Patch Set: Fixed compile failures. Created 3 years, 9 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
Index: ui/events/blink/input_handler_proxy_unittest.cc
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
index 51660ff0f4b30780c6efcfccc817f6078363aaf5..fc52d66b50b8b61797cd822452ffc23b7f2d8a48 100644
--- a/ui/events/blink/input_handler_proxy_unittest.cc
+++ b/ui/events/blink/input_handler_proxy_unittest.cc
@@ -1276,10 +1276,10 @@ TEST_P(InputHandlerProxyTest, GestureFlingPassiveListener) {
.WillOnce(testing::Return(scroll_result_did_scroll_));
WebMouseWheelEvent expected_wheel(WebInputEvent::MouseWheel, modifiers,
WebInputEvent::TimeStampForTesting);
- expected_wheel.x = fling_point.x;
- expected_wheel.y = fling_point.y;
- expected_wheel.globalX = fling_global_point.x;
- expected_wheel.globalY = fling_global_point.y;
+ expected_wheel.position.x = fling_point.x;
+ expected_wheel.position.y = fling_point.y;
+ expected_wheel.screenPosition.x = fling_global_point.x;
+ expected_wheel.screenPosition.y = fling_global_point.y;
expected_wheel.deltaX = fling_delta.x / 10;
expected_wheel.hasPreciseScrollingDeltas = true;

Powered by Google App Engine
This is Rietveld 408576698