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[]; |
280 extern const char kDisableCoreAnimationPlugins[]; | 281 extern const char kDisableCoreAnimationPlugins[]; |
281 extern const char kDisableThreadedEventHandlingMac[]; | 282 extern const char kDisableThreadedEventHandlingMac[]; |
282 #endif | 283 #endif |
283 | 284 |
284 #if defined(OS_WIN) | 285 #if defined(OS_WIN) |
285 // This switch contains the device scale factor passed to certain processes | 286 // This switch contains the device scale factor passed to certain processes |
286 // like renderers, etc. | 287 // like renderers, etc. |
287 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 288 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
288 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 289 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
289 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; | 290 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; |
290 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; | 291 CONTENT_EXPORT extern const char kEnableWin32kLockDownMimeTypes[]; |
291 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; | 292 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[]; |
292 // Switch to pass the font cache shared memory handle to the renderer. | 293 // Switch to pass the font cache shared memory handle to the renderer. |
293 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; | 294 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; |
294 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; | 295 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; |
295 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; | 296 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; |
296 #endif | 297 #endif |
297 | 298 |
298 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 299 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
299 // alphabetical order, or in one of the ifdefs (also in order in each section). | 300 // alphabetical order, or in one of the ifdefs (also in order in each section). |
300 | 301 |
301 } // namespace switches | 302 } // namespace switches |
302 | 303 |
303 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 304 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |