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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[]; | 263 CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[]; |
264 CONTENT_EXPORT extern const char kHideScrollbars[]; | 264 CONTENT_EXPORT extern const char kHideScrollbars[]; |
265 extern const char kNetworkCountryIso[]; | 265 extern const char kNetworkCountryIso[]; |
266 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; | 266 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; |
267 #endif | 267 #endif |
268 | 268 |
269 CONTENT_EXPORT extern const char kDisableWebAudio[]; | 269 CONTENT_EXPORT extern const char kDisableWebAudio[]; |
270 | 270 |
271 #if defined(OS_CHROMEOS) | 271 #if defined(OS_CHROMEOS) |
272 CONTENT_EXPORT extern const char kDisablePanelFitting[]; | 272 CONTENT_EXPORT extern const char kDisablePanelFitting[]; |
| 273 CONTENT_EXPORT extern const char kEnableVaapiAcceleratedVideoEncode[]; |
273 #endif | 274 #endif |
274 | 275 |
275 #if defined(OS_MACOSX) && !defined(OS_IOS) | 276 #if defined(OS_MACOSX) && !defined(OS_IOS) |
276 extern const char kEnableCarbonInterposing[]; | 277 extern const char kEnableCarbonInterposing[]; |
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 kDeviceScaleFactor[]; |
284 CONTENT_EXPORT extern const char kDisableDirectWrite[]; | 285 CONTENT_EXPORT extern const char kDisableDirectWrite[]; |
285 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 286 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
286 CONTENT_EXPORT extern const char kEnableHighResolutionTime[]; | 287 CONTENT_EXPORT extern const char kEnableHighResolutionTime[]; |
287 // This switch will be removed when we enable the win32K lockdown process | 288 // This switch will be removed when we enable the win32K lockdown process |
288 // mitigation. | 289 // mitigation. |
289 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 290 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
290 #endif | 291 #endif |
291 | 292 |
292 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 293 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
293 // alphabetical order, or in one of the ifdefs (also in order in each section). | 294 // alphabetical order, or in one of the ifdefs (also in order in each section). |
294 | 295 |
295 } // namespace switches | 296 } // namespace switches |
296 | 297 |
297 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 298 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |