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

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

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make compilers happy. 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/ImeOnFocusTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
index 4380755e63975ed52a9d4bfb543dea0279dad6a3..36c603fe52727b648b9829fdad73b17c18fe7018 100644
--- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
@@ -77,6 +77,7 @@ void ImeOnFocusTest::sendGestureTap(WebView* webView, IntPoint clientPoint)
{
WebGestureEvent webGestureEvent;
webGestureEvent.type = WebInputEvent::GestureTap;
+ webGestureEvent.sourceDevice = WebGestureDeviceTouchpad;
tdresser 2015/10/19 12:52:39 Let's make this touchscreen.
wjmaclean 2015/10/19 15:26:55 Done.
webGestureEvent.x = clientPoint.x();
webGestureEvent.y = clientPoint.y();
webGestureEvent.globalX = clientPoint.x();

Powered by Google App Engine
This is Rietveld 408576698