| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[]; | 276 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[]; |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 279 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 280 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; | 280 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; |
| 281 #endif | 281 #endif |
| 282 | 282 |
| 283 #if defined(OS_MACOSX) && !defined(OS_IOS) | 283 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 284 extern const char kDisableCoreAnimationPlugins[]; | 284 extern const char kDisableCoreAnimationPlugins[]; |
| 285 extern const char kDisableThreadedEventHandlingMac[]; | 285 extern const char kDisableThreadedEventHandlingMac[]; |
| 286 extern const char kBackgroundMacRendererProcesses[]; |
| 286 #endif | 287 #endif |
| 287 | 288 |
| 288 #if defined(OS_WIN) | 289 #if defined(OS_WIN) |
| 289 // This switch contains the device scale factor passed to certain processes | 290 // This switch contains the device scale factor passed to certain processes |
| 290 // like renderers, etc. | 291 // like renderers, etc. |
| 291 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 292 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
| 292 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 293 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
| 293 // This switch will be removed when we enable the win32K lockdown process | 294 // This switch will be removed when we enable the win32K lockdown process |
| 294 // mitigation. | 295 // mitigation. |
| 295 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; | 296 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; |
| 296 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 297 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
| 297 // Switch to uniquely identify names shared memory section for font cache | 298 // Switch to uniquely identify names shared memory section for font cache |
| 298 // across chromium flavors. | 299 // across chromium flavors. |
| 299 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; | 300 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; |
| 300 #endif | 301 #endif |
| 301 | 302 |
| 302 CONTENT_EXPORT extern const char kEnableNpapi[]; | 303 CONTENT_EXPORT extern const char kEnableNpapi[]; |
| 303 | 304 |
| 304 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 305 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 305 // alphabetical order, or in one of the ifdefs (also in order in each section). | 306 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 306 | 307 |
| 307 } // namespace switches | 308 } // namespace switches |
| 308 | 309 |
| 309 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 310 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
| OLD | NEW |