diff options
Diffstat (limited to 'WebKit/chromium/public/WebRuntimeFeatures.h')
-rw-r--r-- | WebKit/chromium/public/WebRuntimeFeatures.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebRuntimeFeatures.h b/WebKit/chromium/public/WebRuntimeFeatures.h index 04f88c9..5537ee2 100644 --- a/WebKit/chromium/public/WebRuntimeFeatures.h +++ b/WebKit/chromium/public/WebRuntimeFeatures.h @@ -68,6 +68,30 @@ public: WEBKIT_API static void enableIndexedDatabase(bool); WEBKIT_API static bool isIndexedDatabaseEnabled(); + WEBKIT_API static void enableWebGL(bool); + WEBKIT_API static bool isWebGLEnabled(); + + WEBKIT_API static void enablePushState(bool); + WEBKIT_API static bool isPushStateEnabled(bool); + + WEBKIT_API static void enableTouch(bool); + WEBKIT_API static bool isTouchEnabled(); + + WEBKIT_API static void enableDeviceMotion(bool); + WEBKIT_API static bool isDeviceMotionEnabled(); + + WEBKIT_API static void enableDeviceOrientation(bool); + WEBKIT_API static bool isDeviceOrientationEnabled(); + + WEBKIT_API static void enableSpeechInput(bool); + WEBKIT_API static bool isSpeechInputEnabled(); + + WEBKIT_API static void enableXHRResponseBlob(bool); + WEBKIT_API static bool isXHRResponseBlobEnabled(); + + WEBKIT_API static void enableFileSystem(bool); + WEBKIT_API static bool isFileSystemEnabled(); + private: WebRuntimeFeatures(); }; |