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

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

Issue 14749004: Add speech synthesis to WebRuntimeFeatures. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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') | no next file » | 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 f918874c4cc15c2129f8772178df124739fbd811..99b86406227bdfb408d34e01379621542cecb168 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -510,4 +510,14 @@ bool WebRuntimeFeatures::areExperimentalCanvasFeaturesEnabled()
return RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled();
}
+void WebRuntimeFeatures::enableSpeechSynthesis(bool enable)
+{
+ RuntimeEnabledFeatures::setSpeechSynthesisEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isSpeechSynthesisEnabled()
+{
+ return RuntimeEnabledFeatures::speechSynthesisEnabled();
+}
+
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698