diff options
author | benm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-30 21:28:41 +0000 |
---|---|---|
committer | benm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-30 21:28:41 +0000 |
commit | 7dbba441b19c46cdbfb846aebf3927b6717354b0 (patch) | |
tree | b6a55ac94fe853c493bd69de81757b20d6ce40c7 /android_webview/lib/main/aw_main_delegate.cc | |
parent | da9f7db550e826cc62fb1740a4bd3da32338db4c (diff) | |
download | chromium_src-7dbba441b19c46cdbfb846aebf3927b6717354b0.zip chromium_src-7dbba441b19c46cdbfb846aebf3927b6717354b0.tar.gz chromium_src-7dbba441b19c46cdbfb846aebf3927b6717354b0.tar.bz2 |
Disable speech synthesis API for content/ layer.
The Speech Synthesis API relies on an implementation in chrome/
yet is a stable Web Platform feature so enabled in the content/
layer. Flip the enable flag to a disable flag, and set it for
non-chrome content/ embedders.
BUG=347045
Review URL: https://codereview.chromium.org/355183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/lib/main/aw_main_delegate.cc')
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index 5f1069f..84b37ae 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -75,6 +75,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { // WebRTC hardware decoding is not supported, internal bug 15075307 cl->AppendSwitch(switches::kDisableWebRtcHWDecoding); + + // Speech Synthesis backend resides in the chrome layer, not used by WebView. + // http://crbug.com/347045 tracks moving the backend to the content layer. + cl->AppendSwitch(switches::kDisableSpeechSynthesis); return false; } |