OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 // Enable the recognition part of the Web Speech API. | 1023 // Enable the recognition part of the Web Speech API. |
1024 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; | 1024 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; |
1025 | 1025 |
1026 // The telephony region (ISO country code) to use in phone number detection. | 1026 // The telephony region (ISO country code) to use in phone number detection. |
1027 const char kNetworkCountryIso[] = "network-country-iso"; | 1027 const char kNetworkCountryIso[] = "network-country-iso"; |
1028 | 1028 |
1029 // Enables remote debug over HTTP on the specified socket name. | 1029 // Enables remote debug over HTTP on the specified socket name. |
1030 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 1030 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
1031 #endif | 1031 #endif |
1032 | 1032 |
1033 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | |
1034 const char kEnableWebAudio[] = "enable-webaudio"; | |
1035 #else | |
1036 // Disable web audio API. | 1033 // Disable web audio API. |
1037 const char kDisableWebAudio[] = "disable-webaudio"; | 1034 const char kDisableWebAudio[] = "disable-webaudio"; |
1038 #endif | |
1039 | 1035 |
1040 #if defined(OS_CHROMEOS) | 1036 #if defined(OS_CHROMEOS) |
1041 // Disables panel fitting (used for mirror mode). | 1037 // Disables panel fitting (used for mirror mode). |
1042 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 1038 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
1043 #endif | 1039 #endif |
1044 | 1040 |
1045 #if defined(OS_MACOSX) && !defined(OS_IOS) | 1041 #if defined(OS_MACOSX) && !defined(OS_IOS) |
1046 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 1042 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
1047 | 1043 |
1048 // Disables support for Core Animation plugins. This is triggered when | 1044 // Disables support for Core Animation plugins. This is triggered when |
1049 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1045 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1050 const char kDisableCoreAnimationPlugins[] = | 1046 const char kDisableCoreAnimationPlugins[] = |
1051 "disable-core-animation-plugins"; | 1047 "disable-core-animation-plugins"; |
1052 #endif | 1048 #endif |
1053 | 1049 |
1054 #if defined(OS_POSIX) | 1050 #if defined(OS_POSIX) |
1055 // Causes the child processes to cleanly exit via calling exit(). | 1051 // Causes the child processes to cleanly exit via calling exit(). |
1056 const char kChildCleanExit[] = "child-clean-exit"; | 1052 const char kChildCleanExit[] = "child-clean-exit"; |
1057 #endif | 1053 #endif |
1058 | 1054 |
1059 // Don't dump stuff here, follow the same order as the header. | 1055 // Don't dump stuff here, follow the same order as the header. |
1060 | 1056 |
1061 } // namespace switches | 1057 } // namespace switches |
OLD | NEW |