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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 20598008: Add maxTouchPoints for pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add maxTouchPoints for pointer events Created 7 years, 2 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
« no previous file with comments | « Source/core/page/Settings.in ('k') | Source/web/WebSettingsImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 1986e58b8b58a48414b8a7246de5492366779a16..9119c6f981aaec9fec4eb59ae76b7898baaf042b 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -354,6 +354,16 @@ bool WebRuntimeFeatures::isTouchEnabled()
return RuntimeEnabledFeatures::touchEnabled();
}
+void WebRuntimeFeatures::enablePointerEventsMaxTouchPoints(bool enable)
+{
+ RuntimeEnabledFeatures::setPointerEventsMaxTouchPointsEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isPointerEventsMaxTouchPointsEnabled()
+{
+ return RuntimeEnabledFeatures::pointerEventsMaxTouchPointsEnabled();
+}
+
void WebRuntimeFeatures::enableWebAnimationsCSS()
{
RuntimeEnabledFeatures::setWebAnimationsEnabled(true);
« no previous file with comments | « Source/core/page/Settings.in ('k') | Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698