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

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

Issue 1971273002: Touch Action could cause wheel gestures to be filtered. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make test separate Created 4 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 | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/input_router_impl_unittest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc
index 4409e94170fadebfa9989b6082eaf11b6acb69bf..d8ce0648722b12473c3b02422a892977a2f02499 100644
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc
@@ -2213,8 +2213,8 @@ TEST_F(InputRouterImplScaleGestureEventTest, GestureScrollUpdate) {
}
TEST_F(InputRouterImplScaleGestureEventTest, GestureScrollBegin) {
- SimulateGestureEvent(
- SyntheticWebGestureEventBuilder::BuildScrollBegin(10.f, 20.f));
+ SimulateGestureEvent(SyntheticWebGestureEventBuilder::BuildScrollBegin(
+ 10.f, 20.f, blink::WebGestureDeviceTouchscreen));
const WebGestureEvent* sent_event = GetSentWebInputEvent<WebGestureEvent>();
EXPECT_EQ(20.f, sent_event->data.scrollBegin.deltaXHint);
EXPECT_EQ(40.f, sent_event->data.scrollBegin.deltaYHint);
« no previous file with comments | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698