| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 #if defined(OS_CHROMEOS) | 270 #if defined(OS_CHROMEOS) |
| 271 CONTENT_EXPORT extern const char kDisablePanelFitting[]; | 271 CONTENT_EXPORT extern const char kDisablePanelFitting[]; |
| 272 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[]; | 272 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[]; |
| 273 #endif | 273 #endif |
| 274 | 274 |
| 275 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 275 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 276 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; | 276 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 #if defined(OS_MACOSX) && !defined(OS_IOS) | 279 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 280 extern const char kDisableBootstrapSandbox[]; | |
| 281 extern const char kDisableCoreAnimationPlugins[]; | 280 extern const char kDisableCoreAnimationPlugins[]; |
| 282 extern const char kDisableThreadedEventHandlingMac[]; | 281 extern const char kDisableThreadedEventHandlingMac[]; |
| 283 #endif | 282 #endif |
| 284 | 283 |
| 285 #if defined(OS_WIN) | 284 #if defined(OS_WIN) |
| 286 // This switch contains the device scale factor passed to certain processes | 285 // This switch contains the device scale factor passed to certain processes |
| 287 // like renderers, etc. | 286 // like renderers, etc. |
| 288 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 287 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
| 289 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 288 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 290 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; | 289 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; |
| 291 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; | 290 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; |
| 292 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; | 291 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; |
| 293 // Switch to pass the font cache shared memory handle to the renderer. | 292 // Switch to pass the font cache shared memory handle to the renderer. |
| 294 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; | 293 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; |
| 295 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; | 294 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; |
| 296 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; | 295 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; |
| 297 #endif | 296 #endif |
| 298 | 297 |
| 299 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 298 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 300 // alphabetical order, or in one of the ifdefs (also in order in each section). | 299 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 301 | 300 |
| 302 } // namespace switches | 301 } // namespace switches |
| 303 | 302 |
| 304 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 303 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |