| 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 12 matching lines...) Expand all Loading... |
| 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[]; | 27 CONTENT_EXPORT extern const char kBrowserAssertTest[]; |
| 28 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 28 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
| 29 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; | 29 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; |
| 30 extern const char kDebugPluginLoading[]; | 30 extern const char kDebugPluginLoading[]; |
| 31 CONTENT_EXPORT extern const char kDefaultTileWidth[]; | 31 CONTENT_EXPORT extern const char kDefaultTileWidth[]; |
| 32 CONTENT_EXPORT extern const char kDefaultTileHeight[]; | 32 CONTENT_EXPORT extern const char kDefaultTileHeight[]; |
| 33 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
| 33 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; | 34 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; |
| 34 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 35 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
| 35 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 36 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
| 36 CONTENT_EXPORT extern const char kDisableLayerSquashing[]; | 37 CONTENT_EXPORT extern const char kDisableLayerSquashing[]; |
| 37 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; | 38 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; |
| 38 CONTENT_EXPORT extern const char kDisableApplicationCache[]; | 39 CONTENT_EXPORT extern const char kDisableApplicationCache[]; |
| 39 extern const char kDisableBackingStoreLimit[]; | 40 extern const char kDisableBackingStoreLimit[]; |
| 40 CONTENT_EXPORT extern const char kDisableBlinkScheduler[]; | 41 CONTENT_EXPORT extern const char kDisableBlinkScheduler[]; |
| 41 CONTENT_EXPORT extern const char kDisablePreferCompositingToLCDText[]; | 42 CONTENT_EXPORT extern const char kDisablePreferCompositingToLCDText[]; |
| 42 CONTENT_EXPORT extern const char kDisableCompositingForTransition[]; | 43 CONTENT_EXPORT extern const char kDisableCompositingForTransition[]; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 #endif | 277 #endif |
| 277 | 278 |
| 278 #if defined(OS_MACOSX) && !defined(OS_IOS) | 279 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 279 extern const char kDisableCoreAnimationPlugins[]; | 280 extern const char kDisableCoreAnimationPlugins[]; |
| 280 extern const char kEnableThreadedEventHandlingMac[]; | 281 extern const char kEnableThreadedEventHandlingMac[]; |
| 281 #endif | 282 #endif |
| 282 | 283 |
| 283 #if defined(OS_WIN) | 284 #if defined(OS_WIN) |
| 284 // This switch contains the device scale factor passed to certain processes | 285 // This switch contains the device scale factor passed to certain processes |
| 285 // like renderers, etc. | 286 // like renderers, etc. |
| 286 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | |
| 287 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 287 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 288 // This switch will be removed when we enable the win32K lockdown process | 288 // This switch will be removed when we enable the win32K lockdown process |
| 289 // mitigation. | 289 // mitigation. |
| 290 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 290 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
| 291 #endif | 291 #endif |
| 292 | 292 |
| 293 #if defined(ENABLE_PLUGINS) | 293 #if defined(ENABLE_PLUGINS) |
| 294 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; | 294 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; |
| 295 #endif | 295 #endif |
| 296 | 296 |
| 297 // 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 |
| 298 // 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). |
| 299 | 299 |
| 300 } // namespace switches | 300 } // namespace switches |
| 301 | 301 |
| 302 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 302 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |