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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 kDisableVaapiAcceleratedVideoEncode[]; | 270 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[]; |
271 #endif | 271 #endif |
272 | 272 |
273 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 273 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
274 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; | 274 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; |
275 #endif | 275 #endif |
276 | 276 |
277 #if defined(OS_MACOSX) | |
278 extern const char kEnableThreadedEventHandlingMac[]; | |
279 #endif | |
Avi (use Gerrit)
2014/10/21 00:03:53
Why not include this in the #if defined(OS_MACOSX)
ccameron
2014/10/21 00:14:46
Done.
| |
280 | |
277 #if defined(OS_MACOSX) && !defined(OS_IOS) | 281 #if defined(OS_MACOSX) && !defined(OS_IOS) |
278 extern const char kDisableCoreAnimationPlugins[]; | 282 extern const char kDisableCoreAnimationPlugins[]; |
279 #endif | 283 #endif |
280 | 284 |
281 #if defined(OS_WIN) | 285 #if defined(OS_WIN) |
282 // This switch contains the device scale factor passed to certain processes | 286 // This switch contains the device scale factor passed to certain processes |
283 // like renderers, etc. | 287 // like renderers, etc. |
284 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 288 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
285 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 289 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
286 // This switch will be removed when we enable the win32K lockdown process | 290 // This switch will be removed when we enable the win32K lockdown process |
287 // mitigation. | 291 // mitigation. |
288 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 292 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
289 #endif | 293 #endif |
290 | 294 |
291 #if defined(ENABLE_PLUGINS) | 295 #if defined(ENABLE_PLUGINS) |
292 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; | 296 CONTENT_EXPORT extern const char kEnablePluginPowerSaver[]; |
293 #endif | 297 #endif |
294 | 298 |
295 // 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 |
296 // 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). |
297 | 301 |
298 } // namespace switches | 302 } // namespace switches |
299 | 303 |
300 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 304 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |