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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 | 285 |
286 #if defined(OS_WIN) | 286 #if defined(OS_WIN) |
287 // This switch contains the device scale factor passed to certain processes | 287 // This switch contains the device scale factor passed to certain processes |
288 // like renderers, etc. | 288 // like renderers, etc. |
289 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; | 289 CONTENT_EXPORT extern const char kDeviceScaleFactor[]; |
290 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; | 290 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[]; |
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 kDisableWin32kRendererLockDown[]; | 293 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[]; |
294 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; | 294 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
295 // Switch to uniquely identify names shared memory section for font cache | |
296 // across chromium flavors. | |
297 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; | |
298 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; | 295 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[]; |
| 296 // Switch to pass the font cache shared memory handle to the renderer. |
| 297 CONTENT_EXPORT extern const char kFontCacheSharedHandle[]; |
299 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; | 298 CONTENT_EXPORT extern const char kTraceExportEventsToETW[]; |
300 #endif | 299 #endif |
301 | 300 |
302 CONTENT_EXPORT extern const char kEnableNpapi[]; | 301 CONTENT_EXPORT extern const char kEnableNpapi[]; |
303 | 302 |
304 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 303 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
305 // alphabetical order, or in one of the ifdefs (also in order in each section). | 304 // alphabetical order, or in one of the ifdefs (also in order in each section). |
306 | 305 |
307 } // namespace switches | 306 } // namespace switches |
308 | 307 |
309 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 308 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |