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

Unified Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert more tests (related to CL) to use Touchscreen. Created 5 years, 2 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: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index 72cad6fb531b043ce985c4ce95aafd19a1a972fb..a640ee70467620aa71cfe169897f3886511cf409 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -355,6 +355,7 @@ TEST_F(WebPluginContainerTest, GestureLongPressReachesPlugin)
WebGestureEvent event;
event.type = WebInputEvent::GestureLongPress;
+ event.sourceDevice = WebGestureDeviceTouchscreen;
// First, send an event that doesn't hit the plugin to verify that the
// plugin doesn't receive it.

Powered by Google App Engine
This is Rietveld 408576698