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

Unified Diff: content/public/common/content_switches.cc

Issue 1127363004: Introduce "disable-speech-api" content flag and add it to WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 43c7174f4f2c6b789948167f3819c9159a082de2..d0bd75c66231e9bbd2db72689e6d309982ece78d 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -239,6 +239,9 @@ const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
// Disables the use of a 3D software rasterizer.
const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
+// Disables the Web Speech API.
Peter Beverloo 2015/05/07 16:45:24 The Web Speech API defines both speech recognition
timvolodine 2015/05/07 18:45:14 right, I've tested the speechSynthesis on webview
+const char kDisableSpeechRecognition[] = "disable-speech-recognition";
Peter Beverloo 2015/05/07 16:45:24 micro nit: one less space in front of the =
timvolodine 2015/05/07 18:45:14 Done.
+
// Disables SVG 1.1 DOM.
const char kDisableSVG1DOM[] = "disable-svg1dom";
« android_webview/lib/main/aw_main_delegate.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698