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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImplTest.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/LinkHighlightImplTest.cpp
diff --git a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
index 6fc5f595cb56dde94924e743e71f5cca92a37f1d..b7b138c0c8a9d6cf62a4ebbe2dffc5d3c5d3a5a5 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
@@ -72,6 +72,7 @@ TEST(LinkHighlightImplTest, verifyWebViewImplIntegration)
WebGestureEvent touchEvent;
touchEvent.type = WebInputEvent::GestureShowPress;
+ touchEvent.sourceDevice = WebGestureDeviceTouchscreen;
// The coordinates below are linked to absolute positions in the referenced .html file.
touchEvent.x = 20;
@@ -142,6 +143,7 @@ TEST(LinkHighlightImplTest, resetDuringNodeRemoval)
WebGestureEvent touchEvent;
touchEvent.type = WebInputEvent::GestureShowPress;
+ touchEvent.sourceDevice = WebGestureDeviceTouchscreen;
touchEvent.x = 20;
touchEvent.y = 20;
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformGestureEvent.h ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698