| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_CONTENT_SWITCHES_H_ | 7 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_H_ |
| 8 #define CONTENT_COMMON_CONTENT_SWITCHES_H_ | 8 #define CONTENT_COMMON_CONTENT_SWITCHES_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 | 13 |
| 14 namespace switches { | 14 namespace switches { |
| 15 | 15 |
| 16 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; | 16 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; |
| 17 CONTENT_EXPORT extern const char kAllowRunningInsecureContent[]; | 17 CONTENT_EXPORT extern const char kAllowRunningInsecureContent[]; |
| 18 extern const char kAllowSandboxDebugging[]; | 18 extern const char kAllowSandboxDebugging[]; |
| 19 extern const char kAuditHandles[]; |
| 20 extern const char kAuditAllHandles[]; |
| 19 CONTENT_EXPORT extern const char kBrowserAssertTest[]; | 21 CONTENT_EXPORT extern const char kBrowserAssertTest[]; |
| 20 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 22 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
| 21 extern const char kBrowserSubprocessPath[]; | 23 extern const char kBrowserSubprocessPath[]; |
| 22 // TODO(jam): this doesn't belong in content. | 24 // TODO(jam): this doesn't belong in content. |
| 23 CONTENT_EXPORT extern const char kChromeFrame[]; | 25 CONTENT_EXPORT extern const char kChromeFrame[]; |
| 24 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 26 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
| 25 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 27 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
| 26 CONTENT_EXPORT extern const char kDisableAcceleratedCompositing[]; | 28 CONTENT_EXPORT extern const char kDisableAcceleratedCompositing[]; |
| 27 CONTENT_EXPORT extern const char kDisableAcceleratedLayers[]; | 29 CONTENT_EXPORT extern const char kDisableAcceleratedLayers[]; |
| 28 CONTENT_EXPORT extern const char kDisableAcceleratedPlugins[]; | 30 CONTENT_EXPORT extern const char kDisableAcceleratedPlugins[]; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 CONTENT_EXPORT extern const char kUtilityProcess[]; | 152 CONTENT_EXPORT extern const char kUtilityProcess[]; |
| 151 extern const char kUtilityProcessAllowedDir[]; | 153 extern const char kUtilityProcessAllowedDir[]; |
| 152 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; | 154 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[]; |
| 153 extern const char kWebCoreLogChannels[]; | 155 extern const char kWebCoreLogChannels[]; |
| 154 extern const char kWebWorkerProcessPerCore[]; | 156 extern const char kWebWorkerProcessPerCore[]; |
| 155 extern const char kWebWorkerShareProcesses[]; | 157 extern const char kWebWorkerShareProcesses[]; |
| 156 CONTENT_EXPORT extern const char kWorkerProcess[]; | 158 CONTENT_EXPORT extern const char kWorkerProcess[]; |
| 157 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; | 159 CONTENT_EXPORT extern const char kZygoteCmdPrefix[]; |
| 158 CONTENT_EXPORT extern const char kZygoteProcess[]; | 160 CONTENT_EXPORT extern const char kZygoteProcess[]; |
| 159 | 161 |
| 160 #if defined(OS_WIN) | |
| 161 extern const char kAuditHandles[]; | |
| 162 extern const char kAuditAllHandles[]; | |
| 163 #endif | |
| 164 | |
| 165 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 162 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 166 extern const char kScrollPixels[]; | 163 extern const char kScrollPixels[]; |
| 167 #endif | 164 #endif |
| 168 | 165 |
| 169 #if defined(OS_MACOSX) || defined(OS_WIN) | 166 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 170 extern const char kUseSystemSSL[]; | 167 extern const char kUseSystemSSL[]; |
| 171 #endif | 168 #endif |
| 172 | 169 |
| 173 #if !defined(OFFICIAL_BUILD) | 170 #if !defined(OFFICIAL_BUILD) |
| 174 extern const char kRendererCheckFalseTest[]; | 171 extern const char kRendererCheckFalseTest[]; |
| 175 #endif | 172 #endif |
| 176 | 173 |
| 177 } // namespace switches | 174 } // namespace switches |
| 178 | 175 |
| 179 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ | 176 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |