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

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

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GestureEventStreamValidator source device compatibility check. 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/TopControlsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
index ff48fe57c6b92b417d942fc956dfa33402ef7f4e..14fea5f17ba67bf7430a7babcf0f69c7e3729488 100644
--- a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
@@ -96,6 +96,7 @@ public:
{
WebGestureEvent event;
event.type = type;
+ event.sourceDevice = WebGestureDeviceTouchpad;
Rick Byers 2015/10/19 18:20:29 top controls test should presumably be primarily a
wjmaclean 2015/10/19 18:58:49 Done.
event.x = 100;
event.y = 100;
if (type == WebInputEvent::GestureScrollUpdate) {

Powered by Google App Engine
This is Rietveld 408576698