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

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

Issue 10810034: disable web audio by default on android and add switches to enable it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 95984e0ac188cf601bd668d808bd7774c3ca183d..c7809b7daf1ab6073a2b353981a6602a462e5633 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -210,8 +210,13 @@ const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
// Disables animation on the compositor thread.
const char kDisableThreadedAnimation[] = "disable-threaded-animation";
+#if defined(OS_ANDROID)
+// Enable web audio API.
+const char kEnableWebAudio[] = "enable-webaudio";
+#else
// Disable web audio API.
const char kDisableWebAudio[] = "disable-webaudio";
+#endif
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698