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

Unified Diff: third_party/WebKit/Source/web/PageWidgetDelegate.cpp

Issue 1800143002: Notify Blink about start of gesture scroll through a queued event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/PageWidgetDelegate.cpp
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
index 65a6501023b0b9024a31edfdcfdcdb0835d02b01..6c7ff73be6d6d598f64fe6f16aea29f20a3443fc 100644
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
@@ -169,6 +169,7 @@ WebInputEventResult PageWidgetDelegate::handleInputEvent(PageWidgetEventHandler&
case WebInputEvent::TouchMove:
case WebInputEvent::TouchEnd:
case WebInputEvent::TouchCancel:
+ case WebInputEvent::TouchScrollStarted:
if (!root || !root->view())
return WebInputEventResult::NotHandled;
return handler.handleTouchEvent(*root, static_cast<const WebTouchEvent&>(event));
@@ -253,6 +254,7 @@ const char* PageWidgetEventHandler::inputTypeToName(WebInputEvent::Type type)
WEBINPUT_EVENT_CASE(TouchMove)
WEBINPUT_EVENT_CASE(TouchEnd)
WEBINPUT_EVENT_CASE(TouchCancel)
+ WEBINPUT_EVENT_CASE(TouchScrollStarted)
default:
NOTREACHED();
return "";
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformEvent.h ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698