| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; | 274 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; |
| 274 #endif | 275 #endif |
| 275 | 276 |
| 276 #if defined(OS_MACOSX) && !defined(OS_IOS) | 277 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 277 extern const char kDisableCoreAnimationPlugins[]; | 278 extern const char kDisableCoreAnimationPlugins[]; |
| 278 #endif | 279 #endif |
| 279 | 280 |
| 280 #if defined(OS_WIN) | 281 #if defined(OS_WIN) |
| 281 // This switch contains the device scale factor passed to certain processes | 282 // This switch contains the device scale factor passed to certain processes |
| 282 // like renderers, etc. | 283 // like renderers, etc. |
| 283 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | |
| 284 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 284 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 285 // This switch will be removed when we enable the win32K lockdown process | 285 // This switch will be removed when we enable the win32K lockdown process |
| 286 // mitigation. | 286 // mitigation. |
| 287 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 287 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
| 288 #endif | 288 #endif |
| 289 | 289 |
| 290 #if defined(ENABLE_PLUGINS) | 290 #if defined(ENABLE_PLUGINS) |
| 291 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; | 291 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; |
| 292 #endif | 292 #endif |
| 293 | 293 |
| 294 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 294 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 295 // alphabetical order, or in one of the ifdefs (also in order in each section). | 295 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 296 | 296 |
| 297 } // namespace switches | 297 } // namespace switches |
| 298 | 298 |
| 299 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 299 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |