| 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 // Defines all the "content" command-line switches. | 5 // Defines all the "content" command-line switches. |
| 6 | 6 |
| 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 CONTENT_EXPORT extern const char kTestSandbox[]; | 228 CONTENT_EXPORT extern const char kTestSandbox[]; |
| 229 CONTENT_EXPORT extern const char kNoTouchToRendererWhileScrolling[]; | 229 CONTENT_EXPORT extern const char kNoTouchToRendererWhileScrolling[]; |
| 230 extern const char kTraceStartup[]; | 230 extern const char kTraceStartup[]; |
| 231 extern const char kTraceStartupDuration[]; | 231 extern const char kTraceStartupDuration[]; |
| 232 extern const char kTraceStartupFile[]; | 232 extern const char kTraceStartupFile[]; |
| 233 CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[]; | 233 CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[]; |
| 234 CONTENT_EXPORT extern const char kUseFakeDeviceForMediaStream[]; | 234 CONTENT_EXPORT extern const char kUseFakeDeviceForMediaStream[]; |
| 235 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[]; | 235 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[]; |
| 236 CONTENT_EXPORT extern const char kUseGpuInTests[]; | 236 CONTENT_EXPORT extern const char kUseGpuInTests[]; |
| 237 CONTENT_EXPORT extern const char kUseMobileUserAgent[]; | 237 CONTENT_EXPORT extern const char kUseMobileUserAgent[]; |
| 238 CONTENT_EXPORT extern const char kUseSolidColorScrollbars[]; |
| 238 CONTENT_EXPORT extern const char kUserAgent[]; | 239 CONTENT_EXPORT extern const char kUserAgent[]; |
| 239 extern const char kUtilityCmdPrefix[]; | 240 extern const char kUtilityCmdPrefix[]; |
| 240 CONTENT_EXPORT extern const char kUtilityProcess[]; | 241 CONTENT_EXPORT extern const char kUtilityProcess[]; |
| 241 extern const char kUtilityProcessAllowedDir[]; | 242 extern const char kUtilityProcessAllowedDir[]; |
| 242 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[]; | 243 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[]; |
| 243 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; | 244 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; |
| 244 extern const char kWebCoreLogChannels[]; | 245 extern const char kWebCoreLogChannels[]; |
| 245 CONTENT_EXPORT extern const char kWorkerProcess[]; | 246 CONTENT_EXPORT extern const char kWorkerProcess[]; |
| 246 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; | 247 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; |
| 247 CONTENT_EXPORT extern const char kZygoteProcess[]; | 248 CONTENT_EXPORT extern const char kZygoteProcess[]; |
| 248 | 249 |
| 249 #if defined(ENABLE_WEBRTC) | 250 #if defined(ENABLE_WEBRTC) |
| 250 CONTENT_EXPORT extern const char kDisableDeviceEnumeration[]; | 251 CONTENT_EXPORT extern const char kDisableDeviceEnumeration[]; |
| 251 CONTENT_EXPORT extern const char kEnableSCTPDataChannels[]; | 252 CONTENT_EXPORT extern const char kEnableSCTPDataChannels[]; |
| 252 extern const char kEnableWebRtcAecRecordings[]; | 253 extern const char kEnableWebRtcAecRecordings[]; |
| 253 extern const char kEnableWebRtcHWDecoding[]; | 254 extern const char kEnableWebRtcHWDecoding[]; |
| 254 extern const char kEnableWebRtcHWEncoding[]; | 255 extern const char kEnableWebRtcHWEncoding[]; |
| 255 #endif | 256 #endif |
| 256 | 257 |
| 257 #if defined(OS_ANDROID) | 258 #if defined(OS_ANDROID) |
| 258 CONTENT_EXPORT extern const char kDisableDeviceMotion[]; | 259 CONTENT_EXPORT extern const char kDisableDeviceMotion[]; |
| 259 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[]; | 260 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[]; |
| 260 extern const char kDisableMediaHistoryLogging[]; | 261 extern const char kDisableMediaHistoryLogging[]; |
| 261 CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[]; | 262 CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[]; |
| 262 CONTENT_EXPORT extern const char kDisableWebRTC[]; | 263 CONTENT_EXPORT extern const char kDisableWebRTC[]; |
| 263 CONTENT_EXPORT extern const char kEnableSpeechRecognition[]; | 264 CONTENT_EXPORT extern const char kEnableSpeechRecognition[]; |
| 264 CONTENT_EXPORT extern const char kHideScrollbars[]; | |
| 265 extern const char kNetworkCountryIso[]; | 265 extern const char kNetworkCountryIso[]; |
| 266 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; | 266 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; |
| 267 #endif | 267 #endif |
| 268 | 268 |
| 269 #if defined(OS_CHROMEOS) | 269 #if defined(OS_CHROMEOS) |
| 270 CONTENT_EXPORT extern const char kDisablePanelFitting[]; | 270 CONTENT_EXPORT extern const char kDisablePanelFitting[]; |
| 271 #endif | 271 #endif |
| 272 | 272 |
| 273 #if defined(OS_MACOSX) && !defined(OS_IOS) | 273 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 274 extern const char kDisableCarbonInterposing[]; | 274 extern const char kDisableCarbonInterposing[]; |
| 275 extern const char kDisableCoreAnimationPlugins[]; | 275 extern const char kDisableCoreAnimationPlugins[]; |
| 276 extern const char kUseCoreAnimation[]; | 276 extern const char kUseCoreAnimation[]; |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 #if defined(OS_POSIX) | 279 #if defined(OS_POSIX) |
| 280 extern const char kChildCleanExit[]; | 280 extern const char kChildCleanExit[]; |
| 281 #endif | 281 #endif |
| 282 | 282 |
| 283 #if defined(USE_AURA) | 283 #if defined(USE_AURA) |
| 284 CONTENT_EXPORT extern const char kTestCompositor[]; | 284 CONTENT_EXPORT extern const char kTestCompositor[]; |
| 285 #endif | 285 #endif |
| 286 | 286 |
| 287 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 287 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 288 // alphabetical order, or in one of the ifdefs (also in order in each section). | 288 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 289 | 289 |
| 290 } // namespace switches | 290 } // namespace switches |
| 291 | 291 |
| 292 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 292 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |