Index: Source/bindings/v8/RuntimeEnabledFeatures.h |
diff --git a/Source/bindings/v8/RuntimeEnabledFeatures.h b/Source/bindings/v8/RuntimeEnabledFeatures.h |
index 8fa100f2659a04328ad9ededcf786cf1d7c65495..3f7c2614931874408c2cbcda38cf431cd0d40820 100644 |
--- a/Source/bindings/v8/RuntimeEnabledFeatures.h |
+++ b/Source/bindings/v8/RuntimeEnabledFeatures.h |
@@ -130,8 +130,10 @@ public: |
static void setWebMIDIEnabled(bool isEnabled) { isWebMIDIEnabled = isEnabled; } |
static bool webMIDIEnabled() { return isWebMIDIEnabled; } |
+#if ENABLE(TOUCH_EVENTS) |
static bool touchEnabled() { return isTouchEnabled; } |
static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } |
+#endif |
static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled = isEnabled; } |
static bool deviceMotionEnabled() { return isDeviceMotionEnabled; } |