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" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // All switches in alphabetical order. The switches should be documented | 15 // All switches in alphabetical order. The switches should be documented |
16 // alongside the definition of their values in the .cc file. | 16 // alongside the definition of their values in the .cc file. |
17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[]; | 17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[]; |
18 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; | 18 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; |
19 CONTENT_EXPORT extern const char kAllowInsecureWebSocketFromHttpsOrigin[]; | 19 CONTENT_EXPORT extern const char kAllowInsecureWebSocketFromHttpsOrigin[]; |
20 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[]; | 20 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[]; |
21 CONTENT_EXPORT extern const char kAllowNoSandboxJob[]; | 21 CONTENT_EXPORT extern const char kAllowNoSandboxJob[]; |
22 extern const char kAllowSandboxDebugging[]; | 22 extern const char kAllowSandboxDebugging[]; |
23 extern const char kAuditAllHandles[]; | 23 extern const char kAuditAllHandles[]; |
24 extern const char kAuditHandles[]; | 24 extern const char kAuditHandles[]; |
25 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; | 25 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; |
26 CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[]; | 26 CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[]; |
27 CONTENT_EXPORT extern const char kBrowserAssertTest[]; | |
28 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 27 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
29 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; | 28 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; |
30 extern const char kDebugPluginLoading[]; | 29 extern const char kDebugPluginLoading[]; |
31 CONTENT_EXPORT extern const char kDefaultTileWidth[]; | 30 CONTENT_EXPORT extern const char kDefaultTileWidth[]; |
32 CONTENT_EXPORT extern const char kDefaultTileHeight[]; | 31 CONTENT_EXPORT extern const char kDefaultTileHeight[]; |
33 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; | 32 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; |
34 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 33 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
35 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 34 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
36 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; | 35 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; |
37 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; | 36 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 #if defined(ENABLE_PLUGINS) | 293 #if defined(ENABLE_PLUGINS) |
295 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; | 294 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; |
296 #endif | 295 #endif |
297 | 296 |
298 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 297 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
299 // alphabetical order, or in one of the ifdefs (also in order in each section). | 298 // alphabetical order, or in one of the ifdefs (also in order in each section). |
300 | 299 |
301 } // namespace switches | 300 } // namespace switches |
302 | 301 |
303 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 302 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |