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

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

Issue 2244503003: Add flag to force touch events to be passive during fling as a runtime feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set feature to be experimental 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/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 4b43701bfde7bdcb01ee6884429184563d8295c6..30deec122f7d22eddea1d065a8187009634309c2 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -210,6 +210,11 @@ void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable)
RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable);
}
+void WebRuntimeFeatures::enablePassiveEventListenersDueToFling(bool enable)
+{
+ RuntimeEnabledFeatures::setPassiveEventListenersDueToFlingEnabled(enable);
+}
+
void WebRuntimeFeatures::enablePaymentRequest(bool enable)
{
RuntimeEnabledFeatures::setPaymentRequestEnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698