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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 15748002: Initial support for experimental touch-action CSS feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unnecessary CSSParserContext change Created 7 years, 7 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/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 61389a7ffc2d40c4374cae69ca64c0237d08920d..cab20da5ac22d8738186c86748fe11462ed64c1a 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -107,6 +107,16 @@ bool WebRuntimeFeatures::isCSSRegionsEnabled()
return RuntimeEnabledFeatures::cssRegionsEnabled();
}
+void WebRuntimeFeatures::enableCSSTouchAction(bool enable)
+{
+ RuntimeEnabledFeatures::setCSSTouchActionEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isCSSTouchActionEnabled()
+{
+ return RuntimeEnabledFeatures::cssTouchActionEnabled();
+}
+
void WebRuntimeFeatures::enableCustomDOMElements(bool enable)
{
RuntimeEnabledFeatures::setCustomDOMElementsEnabled(enable);
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698