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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 1884863003: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove API from ChromeClient 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/core/html/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index 9f0381e4f979ad9e6a99158e7ea4dbf484b74e6d..81c7aeb9aca4941252974fb6e62300ebd4bc273c 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -423,9 +423,9 @@ void HTMLInputElement::updateTouchEventHandlerRegistry()
EventHandlerRegistry& registry = document().frameHost()->eventHandlerRegistry();
// TODO(dtapuska): Make this passive touch listener see crbug.com/584438
if (hasTouchEventHandler)
- registry.didAddEventHandler(*this, EventHandlerRegistry::TouchEventBlocking);
+ registry.didAddEventHandler(*this, EventHandlerRegistry::TouchStartOrMoveEventBlocking);
else
- registry.didRemoveEventHandler(*this, EventHandlerRegistry::TouchEventBlocking);
+ registry.didRemoveEventHandler(*this, EventHandlerRegistry::TouchStartOrMoveEventBlocking);
m_hasTouchEventHandler = hasTouchEventHandler;
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698