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

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

Issue 79193003: Enable WebAudio support on Android/x86. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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') | no next file » | 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 82aff475da384fce75853adaa0d88875e7417710..7bbafe6bf86e59c75a260cae47c16ef25f9e7df4 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -326,9 +326,6 @@ const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source";
// Disable CSS Transitions / Animations on the Web Animations model.
const char kDisableWebAnimationsCSS[] = "disable-web-animations-css";
-// Disable web audio API.
-const char kDisableWebAudio[] = "disable-webaudio";
-
// Disables prefixed Media Source API (i.e., the WebKitMediaSource object).
const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
@@ -1013,6 +1010,13 @@ const char kNetworkCountryIso[] = "network-country-iso";
const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
#endif
+#if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
+const char kEnableWebAudio[] = "enable-webaudio";
+#else
+// Disable web audio API.
+const char kDisableWebAudio[] = "disable-webaudio";
+#endif
+
#if defined(OS_CHROMEOS)
// Disables panel fitting (used for mirror mode).
const char kDisablePanelFitting[] = "disable-panel-fitting";
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698