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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 355183002: Disable speech synthesis API for content/ layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 83fe76f20b3e1e5e7ce0425294d6de0c1d025790..6f5fefd9b686ab6ef22c9d05a59f848af6399389 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -237,6 +237,10 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kRegisterFontFiles));
}
+
+ // Speech Synthesis backend lives in chrome/. See crbug.com/347045
+ // tracking moving it to content/.
+ command_line->AppendSwitch(switches::kDisableSpeechSynthesis);
}
void ShellContentBrowserClient::OverrideWebkitPrefs(
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698