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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2209773002: Remove the blocking touch handlers for the input[type=range] and add touch-action instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the touch event handlers to the container in the shadow dom Created 4 years, 4 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/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index d24834598ee3489320979ce17cc6e8dd12cc6662..74148b5f8b7e7b770ca64a0cd5cee811329bef82 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1279,6 +1279,18 @@ unsigned Internals::scrollEventHandlerCount(Document* document)
return eventHandlerCount(*document, EventHandlerRegistry::ScrollEvent);
}
+unsigned Internals::blockingTouchStartOrMoveEventHandlerCount(Document* document)
+{
+ DCHECK(document);
+ return eventHandlerCount(*document, EventHandlerRegistry::TouchStartOrMoveEventBlocking);
+}
+
+unsigned Internals::passiveTouchStartOrMoveEventHandlerCount(Document* document)
+{
+ DCHECK(document);
+ return eventHandlerCount(*document, EventHandlerRegistry::TouchStartOrMoveEventPassive);
+}
+
unsigned Internals::touchStartOrMoveEventHandlerCount(Document* document)
{
ASSERT(document);

Powered by Google App Engine
This is Rietveld 408576698