summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/WebRuntimeFeatures.cpp')
-rw-r--r--WebKit/chromium/src/WebRuntimeFeatures.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebKit/chromium/src/WebRuntimeFeatures.cpp b/WebKit/chromium/src/WebRuntimeFeatures.cpp
index efb287c..217553b 100644
--- a/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -236,4 +236,14 @@ bool WebRuntimeFeatures::isDeviceOrientationEnabled()
return RuntimeEnabledFeatures::deviceOrientationEnabled();
}
+void WebRuntimeFeatures::enableSpeechInput(bool enable)
+{
+ RuntimeEnabledFeatures::setSpeechInputEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isSpeechInputEnabled()
+{
+ return RuntimeEnabledFeatures::speechInputEnabled();
+}
+
} // namespace WebKit