Index: Source/bindings/v8/RuntimeEnabledFeatures.h |
diff --git a/Source/bindings/v8/RuntimeEnabledFeatures.h b/Source/bindings/v8/RuntimeEnabledFeatures.h |
index 32bd973bd84061f0ae10aff148ba51df3efdd2c8..9647b0c82f77e25a5955f7a6a4ad0a8c9b84260e 100644 |
--- a/Source/bindings/v8/RuntimeEnabledFeatures.h |
+++ b/Source/bindings/v8/RuntimeEnabledFeatures.h |
@@ -132,6 +132,9 @@ public: |
static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } |
#endif |
+ static void setWebMIDIEnabled(bool isEnabled) { isWebMIDIEnabled = isEnabled; } |
+ static bool webMIDIEnabled() { return isWebMIDIEnabled; } |
+ |
static bool touchEnabled() { return isTouchEnabled; } |
static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } |
@@ -259,6 +262,7 @@ private: |
static bool isGeolocationEnabled; |
static bool isIndexedDBEnabled; |
static bool isWebAudioEnabled; |
+ static bool isWebMIDIEnabled; |
static bool isTouchEnabled; |
static bool isDeviceMotionEnabled; |
static bool isDeviceOrientationEnabled; |