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 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 extern const char kAllowFileAccessFromFiles[]; | 15 extern const char kAllowFileAccessFromFiles[]; |
16 extern const char kAllowRunningInsecureContent[]; | 16 extern const char kAllowRunningInsecureContent[]; |
17 extern const char kAllowSandboxDebugging[]; | 17 extern const char kAllowSandboxDebugging[]; |
18 extern const char kBrowserSubprocessPath[]; | 18 extern const char kBrowserSubprocessPath[]; |
19 // TODO(jam): this doesn't belong in content. | 19 // TODO(jam): this doesn't belong in content. |
20 extern const char kChromeFrame[]; | 20 extern const char kChromeFrame[]; |
21 extern const char kDisable3DAPIs[]; | 21 extern const char kDisable3DAPIs[]; |
22 extern const char kDisableAccelerated2dCanvas[]; | 22 extern const char kDisableAccelerated2dCanvas[]; |
23 extern const char kDisableAcceleratedCompositing[]; | 23 extern const char kDisableAcceleratedCompositing[]; |
24 extern const char kDisableAcceleratedLayers[]; | 24 extern const char kDisableAcceleratedLayers[]; |
| 25 extern const char kDisableAcceleratedPlugins[]; |
25 extern const char kDisableAcceleratedVideo[]; | 26 extern const char kDisableAcceleratedVideo[]; |
26 extern const char kDisableAltWinstation[]; | 27 extern const char kDisableAltWinstation[]; |
27 extern const char kDisableApplicationCache[]; | 28 extern const char kDisableApplicationCache[]; |
28 extern const char kDisableAudio[]; | 29 extern const char kDisableAudio[]; |
29 extern const char kDisableBackingStoreLimit[]; | 30 extern const char kDisableBackingStoreLimit[]; |
30 extern const char kDisableDatabases[]; | 31 extern const char kDisableDatabases[]; |
31 extern const char kDisableDataTransferItems[]; | 32 extern const char kDisableDataTransferItems[]; |
32 extern const char kDisableDesktopNotifications[]; | 33 extern const char kDisableDesktopNotifications[]; |
33 extern const char kDisableDeviceOrientation[]; | 34 extern const char kDisableDeviceOrientation[]; |
34 extern const char kDisableExperimentalWebGL[]; | 35 extern const char kDisableExperimentalWebGL[]; |
(...skipping 15 matching lines...) Expand all Loading... |
50 extern const char kDisableRendererAccessibility[]; | 51 extern const char kDisableRendererAccessibility[]; |
51 extern const char kDisableSeccompSandbox[]; | 52 extern const char kDisableSeccompSandbox[]; |
52 extern const char kDisableSessionStorage[]; | 53 extern const char kDisableSessionStorage[]; |
53 extern const char kDisableSharedWorkers[]; | 54 extern const char kDisableSharedWorkers[]; |
54 extern const char kDisableSpeechInput[]; | 55 extern const char kDisableSpeechInput[]; |
55 extern const char kDisableSpellcheckAPI[]; | 56 extern const char kDisableSpellcheckAPI[]; |
56 extern const char kDisableWebAudio[]; | 57 extern const char kDisableWebAudio[]; |
57 extern const char kDisableWebSockets[]; | 58 extern const char kDisableWebSockets[]; |
58 extern const char kEnableAccelerated2dCanvas[]; | 59 extern const char kEnableAccelerated2dCanvas[]; |
59 extern const char kEnableAcceleratedDrawing[]; | 60 extern const char kEnableAcceleratedDrawing[]; |
60 extern const char kEnableAcceleratedPlugins[]; | |
61 extern const char kEnableAccessibility[]; | 61 extern const char kEnableAccessibility[]; |
62 extern const char kEnableBenchmarking[]; | 62 extern const char kEnableBenchmarking[]; |
63 extern const char kEnableDeviceMotion[]; | 63 extern const char kEnableDeviceMotion[]; |
64 extern const char kEnableGPUPlugin[]; | 64 extern const char kEnableGPUPlugin[]; |
65 extern const char kEnableLogging[]; | 65 extern const char kEnableLogging[]; |
66 extern const char kEnableMediaStream[]; | 66 extern const char kEnableMediaStream[]; |
67 extern const char kEnableMonitorProfile[]; | 67 extern const char kEnableMonitorProfile[]; |
68 extern const char kEnablePreparsedJsCaching[]; | 68 extern const char kEnablePreparsedJsCaching[]; |
69 extern const char kEnableSandboxLogging[]; | 69 extern const char kEnableSandboxLogging[]; |
70 extern const char kEnableSeccompSandbox[]; | 70 extern const char kEnableSeccompSandbox[]; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 extern const char kScrollPixels[]; | 156 extern const char kScrollPixels[]; |
157 #endif | 157 #endif |
158 | 158 |
159 #if !defined(OFFICIAL_BUILD) | 159 #if !defined(OFFICIAL_BUILD) |
160 extern const char kRendererCheckFalseTest[]; | 160 extern const char kRendererCheckFalseTest[]; |
161 #endif | 161 #endif |
162 | 162 |
163 } // namespace switches | 163 } // namespace switches |
164 | 164 |
165 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ | 165 #endif // CONTENT_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |