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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[]; | 260 CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[]; |
261 CONTENT_EXPORT extern const char kHideScrollbars[]; | 261 CONTENT_EXPORT extern const char kHideScrollbars[]; |
262 extern const char kNetworkCountryIso[]; | 262 extern const char kNetworkCountryIso[]; |
263 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; | 263 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[]; |
264 #endif | 264 #endif |
265 | 265 |
266 CONTENT_EXPORT extern const char kDisableWebAudio[]; | 266 CONTENT_EXPORT extern const char kDisableWebAudio[]; |
267 | 267 |
268 #if defined(OS_CHROMEOS) | 268 #if defined(OS_CHROMEOS) |
269 CONTENT_EXPORT extern const char kDisablePanelFitting[]; | 269 CONTENT_EXPORT extern const char kDisablePanelFitting[]; |
270 CONTENT_EXPORT extern const char kEnableVaapiAcceleratedVideoEncode[]; | |
271 #endif | 270 #endif |
272 | 271 |
273 #if defined(OS_MACOSX) && !defined(OS_IOS) | 272 #if defined(OS_MACOSX) && !defined(OS_IOS) |
274 extern const char kEnableCarbonInterposing[]; | 273 extern const char kEnableCarbonInterposing[]; |
275 extern const char kDisableCoreAnimationPlugins[]; | 274 extern const char kDisableCoreAnimationPlugins[]; |
276 #endif | 275 #endif |
277 | 276 |
278 #if defined(OS_WIN) | 277 #if defined(OS_WIN) |
279 // This switch contains the device scale factor passed to certain processes | 278 // This switch contains the device scale factor passed to certain processes |
280 // like renderers, etc. | 279 // like renderers, etc. |
281 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 280 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
282 CONTENT_EXPORT extern const char kDisableDirectWrite[]; | 281 CONTENT_EXPORT extern const char kDisableDirectWrite[]; |
283 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 282 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
284 CONTENT_EXPORT extern const char kEnableHighResolutionTime[]; | 283 CONTENT_EXPORT extern const char kEnableHighResolutionTime[]; |
285 // 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 |
286 // mitigation. | 285 // mitigation. |
287 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 286 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
288 #endif | 287 #endif |
289 | 288 |
290 // 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 |
291 // 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). |
292 | 291 |
293 } // namespace switches | 292 } // namespace switches |
294 | 293 |
295 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 294 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |