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