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