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

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

Issue 2467913002: Touch event flag should control only DOM event firing. (Closed)
Patch Set: Deprecate the histogram. Created 4 years, 1 month 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 7c4a713f03a227ef57bcd8e6ea3af959073778fc..576878b87460e6e2885ecdc091168a40efd825be 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -234,8 +234,8 @@ void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) {
RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable);
}
-void WebRuntimeFeatures::enableTouch(bool enable) {
- RuntimeEnabledFeatures::setTouchEnabled(enable);
+void WebRuntimeFeatures::enableTouchEventAPI(bool enable) {
+ RuntimeEnabledFeatures::setTouchEventAPIEnabled(enable);
}
void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) {

Powered by Google App Engine
This is Rietveld 408576698