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

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

Issue 1888163003: Articulate the cancel behavior in the WebTouchEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and non-const ref passed back Created 4 years, 8 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/TouchActionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
index f9f5903a8327e4b9fdca58f17d11cc5dccd9aa5e..4d101cc7f9ca7998a4af7839eb0f736cda2e3285 100644
--- a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
@@ -329,7 +329,7 @@ void TouchActionTest::sendTouchEvent(WebView* webView, WebInputEvent::Type type,
WebTouchEvent webTouchEvent;
webTouchEvent.type = type;
if (type == WebInputEvent::TouchCancel)
- webTouchEvent.cancelable = false;
+ webTouchEvent.dispatchType = WebInputEvent::EventNonBlocking;
webTouchEvent.touchesLength = 1;
webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ?
WebTouchPoint::StatePressed :

Powered by Google App Engine
This is Rietveld 408576698