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 kAgcStartupMinVolume[]; | 18 CONTENT_EXPORT extern const char kAgcStartupMinVolume[]; |
19 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; | 19 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; |
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 CONTENT_EXPORT extern const char kAllowSandboxDebugging[]; | 22 CONTENT_EXPORT extern const char kAllowSandboxDebugging[]; |
23 CONTENT_EXPORT extern const char kBlinkSettings[]; | 23 CONTENT_EXPORT extern const char kBlinkSettings[]; |
24 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; | 24 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; |
25 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 25 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
26 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; | 26 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; |
27 extern const char kUseCrossProcessFramesForGuests[]; | 27 CONTENT_EXPORT extern const char kUseCrossProcessFramesForGuests[]; |
EhsanK
2016/01/20 00:00:03
I need to add this flag at runtime during the comm
kenrb
2016/01/22 22:26:02
Does kSitePerProcess not work?
EhsanK
2016/01/26 18:36:27
This is the switch we should have active for <webv
| |
28 extern const char kDebugPluginLoading[]; | 28 extern const char kDebugPluginLoading[]; |
29 CONTENT_EXPORT extern const char kDefaultTileWidth[]; | 29 CONTENT_EXPORT extern const char kDefaultTileWidth[]; |
30 CONTENT_EXPORT extern const char kDefaultTileHeight[]; | 30 CONTENT_EXPORT extern const char kDefaultTileHeight[]; |
31 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; | 31 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; |
32 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 32 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
33 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 33 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
34 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; | 34 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; |
35 CONTENT_EXPORT extern const char kDisableAcceleratedMjpegDecode[]; | 35 CONTENT_EXPORT extern const char kDisableAcceleratedMjpegDecode[]; |
36 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; | 36 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; |
37 extern const char kDisableBackingStoreLimit[]; | 37 extern const char kDisableBackingStoreLimit[]; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; | 302 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; |
303 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; | 303 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; |
304 #endif | 304 #endif |
305 | 305 |
306 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 306 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
307 // alphabetical order, or in one of the ifdefs (also in order in each section). | 307 // alphabetical order, or in one of the ifdefs (also in order in each section). |
308 | 308 |
309 } // namespace switches | 309 } // namespace switches |
310 | 310 |
311 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 311 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |