summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 13:17:48 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 13:17:48 +0000
commit9b7b57dffdf12effc49a259da5ec9e71668d3608 (patch)
tree5efdb0e8b159dd2e5d5cdc27798bdb0ba8ef9068 /content/public
parent93cc27bf467e4914ebd98d27e0ea551d2debb666 (diff)
downloadchromium_src-9b7b57dffdf12effc49a259da5ec9e71668d3608.zip
chromium_src-9b7b57dffdf12effc49a259da5ec9e71668d3608.tar.gz
chromium_src-9b7b57dffdf12effc49a259da5ec9e71668d3608.tar.bz2
Speech JavaScript API: add --enable-scripted-speech
This flag doesn't do much at the moment, but will be used to enable the new speech API that's being implemented. BUG=116954 TEST=none Review URL: http://codereview.chromium.org/9748020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127947 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/common/content_switches.cc3
-rw-r--r--content/public/common/content_switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index ac88386..de7609f 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -186,6 +186,9 @@ const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
// Disables speech input.
const char kDisableSpeechInput[] = "disable-speech-input";
+// Enables scripted speech api.
+const char kEnableScriptedSpeech[] = "enable-scripted-speech";
+
// Disable web audio API.
const char kDisableWebAudio[] = "disable-webaudio";
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index 2409534..a530e24 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -68,6 +68,7 @@ extern const char kDisableSessionStorage[];
extern const char kDisableSharedWorkers[];
extern const char kDisableSiteSpecificQuirks[];
CONTENT_EXPORT extern const char kDisableSpeechInput[];
+CONTENT_EXPORT extern const char kEnableScriptedSpeech[];
CONTENT_EXPORT extern const char kDisableWebAudio[];
extern const char kDisableWebSecurity[];
extern const char kDisableWebSockets[];