| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 283 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 284 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; | 284 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; |
| 285 #endif | 285 #endif |
| 286 | 286 |
| 287 #if defined(OS_MACOSX) && !defined(OS_IOS) | 287 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 288 extern const char kDisableCoreAnimationPlugins[]; | 288 extern const char kDisableCoreAnimationPlugins[]; |
| 289 extern const char kDisableThreadedEventHandlingMac[]; | 289 extern const char kDisableThreadedEventHandlingMac[]; |
| 290 #endif | 290 #endif |
| 291 | 291 |
| 292 #if defined(OS_WIN) | 292 #if defined(OS_WIN) |
| 293 CONTENT_EXPORT extern const char kPrefetchArgumentRenderer[]; |
| 294 CONTENT_EXPORT extern const char kPrefetchArgumentGpu[]; |
| 295 CONTENT_EXPORT extern const char kPrefetchArgumentPpapi[]; |
| 296 CONTENT_EXPORT extern const char kPrefetchArgumentPpapiBroker[]; |
| 297 CONTENT_EXPORT extern const char kPrefetchArgumentOther[]; |
| 293 // This switch contains the device scale factor passed to certain processes | 298 // This switch contains the device scale factor passed to certain processes |
| 294 // like renderers, etc. | 299 // like renderers, etc. |
| 295 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 300 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
| 296 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 301 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 297 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; | 302 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; |
| 298 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; | 303 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; |
| 299 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; | 304 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; |
| 300 // Switch to pass the font cache shared memory handle to the renderer. | 305 // Switch to pass the font cache shared memory handle to the renderer. |
| 301 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; | 306 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; |
| 302 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; | 307 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; |
| 303 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; | 308 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; |
| 304 #endif | 309 #endif |
| 305 | 310 |
| 306 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 311 // 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). | 312 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 308 | 313 |
| 309 } // namespace switches | 314 } // namespace switches |
| 310 | 315 |
| 311 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 316 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |