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