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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 // Enable the recognition part of the Web Speech API. | 1020 // Enable the recognition part of the Web Speech API. |
1021 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; | 1021 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; |
1022 | 1022 |
1023 // The telephony region (ISO country code) to use in phone number detection. | 1023 // The telephony region (ISO country code) to use in phone number detection. |
1024 const char kNetworkCountryIso[] = "network-country-iso"; | 1024 const char kNetworkCountryIso[] = "network-country-iso"; |
1025 | 1025 |
1026 // Enables remote debug over HTTP on the specified socket name. | 1026 // Enables remote debug over HTTP on the specified socket name. |
1027 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 1027 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
1028 #endif | 1028 #endif |
1029 | 1029 |
1030 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | |
1031 const char kEnableWebAudio[] = "enable-webaudio"; | |
1032 #else | |
1033 // Disable web audio API. | 1030 // Disable web audio API. |
1034 const char kDisableWebAudio[] = "disable-webaudio"; | 1031 const char kDisableWebAudio[] = "disable-webaudio"; |
1035 #endif | |
1036 | 1032 |
1037 #if defined(OS_CHROMEOS) | 1033 #if defined(OS_CHROMEOS) |
1038 // Disables panel fitting (used for mirror mode). | 1034 // Disables panel fitting (used for mirror mode). |
1039 const char kDisablePanelFitting[] = "disable-panel-fitting"; | 1035 const char kDisablePanelFitting[] = "disable-panel-fitting"; |
1040 #endif | 1036 #endif |
1041 | 1037 |
1042 #if defined(OS_MACOSX) && !defined(OS_IOS) | 1038 #if defined(OS_MACOSX) && !defined(OS_IOS) |
1043 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; | 1039 const char kEnableCarbonInterposing[] = "enable-carbon-interposing"; |
1044 | 1040 |
1045 // Disables support for Core Animation plugins. This is triggered when | 1041 // Disables support for Core Animation plugins. This is triggered when |
1046 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1042 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1047 const char kDisableCoreAnimationPlugins[] = | 1043 const char kDisableCoreAnimationPlugins[] = |
1048 "disable-core-animation-plugins"; | 1044 "disable-core-animation-plugins"; |
1049 #endif | 1045 #endif |
1050 | 1046 |
1051 #if defined(OS_POSIX) | 1047 #if defined(OS_POSIX) |
1052 // Causes the child processes to cleanly exit via calling exit(). | 1048 // Causes the child processes to cleanly exit via calling exit(). |
1053 const char kChildCleanExit[] = "child-clean-exit"; | 1049 const char kChildCleanExit[] = "child-clean-exit"; |
1054 #endif | 1050 #endif |
1055 | 1051 |
1056 // Don't dump stuff here, follow the same order as the header. | 1052 // Don't dump stuff here, follow the same order as the header. |
1057 | 1053 |
1058 } // namespace switches | 1054 } // namespace switches |
OLD | NEW |