Chromium Code Reviews| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[]; | 227 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[]; |
| 228 CONTENT_EXPORT extern const char kUseMobileUserAgent[]; | 228 CONTENT_EXPORT extern const char kUseMobileUserAgent[]; |
| 229 extern const char kUseSurfaces[]; | 229 extern const char kUseSurfaces[]; |
| 230 extern const char kUtilityCmdPrefix[]; | 230 extern const char kUtilityCmdPrefix[]; |
| 231 CONTENT_EXPORT extern const char kUtilityProcess[]; | 231 CONTENT_EXPORT extern const char kUtilityProcess[]; |
| 232 extern const char kUtilityProcessAllowedDir[]; | 232 extern const char kUtilityProcessAllowedDir[]; |
| 233 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[]; | 233 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[]; |
| 234 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[]; | 234 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[]; |
| 235 extern const char kV8CacheOptions[]; | 235 extern const char kV8CacheOptions[]; |
| 236 CONTENT_EXPORT extern const char kValidateInputEventStream[]; | 236 CONTENT_EXPORT extern const char kValidateInputEventStream[]; |
| 237 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; | 237 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; |
|
Charlie Reis
2014/08/29 00:04:24
How does the new flag differ from this one?
Jaekyun Seok (inactive)
2014/08/29 01:05:07
Maybe we can reuse it, but it is a flag for all ch
Feng Qian
2014/08/29 15:57:35
We should reuse it, render is a child process.
Rig
Jaekyun Seok (inactive)
2014/08/29 22:08:01
I didn't know that renderer process is only one, a
| |
| 238 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; | 238 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; |
| 239 CONTENT_EXPORT extern const char kZygoteProcess[]; | 239 CONTENT_EXPORT extern const char kZygoteProcess[]; |
| 240 | 240 |
| 241 #if defined(ENABLE_WEBRTC) | 241 #if defined(ENABLE_WEBRTC) |
| 242 CONTENT_EXPORT extern const char kDisableAudioTrackProcessing[]; | 242 CONTENT_EXPORT extern const char kDisableAudioTrackProcessing[]; |
| 243 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[]; | 243 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[]; |
| 244 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[]; | 244 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[]; |
| 245 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[]; | 245 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[]; |
| 246 CONTENT_EXPORT extern const char kEnableWebRtcHWVp8Encoding[]; | 246 CONTENT_EXPORT extern const char kEnableWebRtcHWVp8Encoding[]; |
| 247 CONTENT_EXPORT extern const char kEnableWebRtcHWH264Encoding[]; | 247 CONTENT_EXPORT extern const char kEnableWebRtcHWH264Encoding[]; |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 278 // This switch contains the device scale factor passed to certain processes | 278 // This switch contains the device scale factor passed to certain processes |
| 279 // like renderers, etc. | 279 // like renderers, etc. |
| 280 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 280 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
| 281 CONTENT_EXPORT extern const char kDisableDirectWrite[]; | 281 CONTENT_EXPORT extern const char kDisableDirectWrite[]; |
| 282 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 282 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 283 // This switch will be removed when we enable the win32K lockdown process | 283 // This switch will be removed when we enable the win32K lockdown process |
| 284 // mitigation. | 284 // mitigation. |
| 285 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 285 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
| 286 #endif | 286 #endif |
| 287 | 287 |
| 288 CONTENT_EXPORT extern const char kRendererWaitForDebugger[]; | |
|
Charlie Reis
2014/08/29 00:04:24
See the comment below. Please alphabetize this ab
Jaekyun Seok (inactive)
2014/08/29 01:05:08
Done.
| |
| 289 | |
| 288 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 290 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 289 // alphabetical order, or in one of the ifdefs (also in order in each section). | 291 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 290 | 292 |
| 291 } // namespace switches | 293 } // namespace switches |
| 292 | 294 |
| 293 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 295 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |