Chromium Code Reviews| 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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 | 110 |
| 111 // Disable one or more Blink runtime-enabled features. | 111 // Disable one or more Blink runtime-enabled features. |
| 112 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 112 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
| 113 // Applied after kEnableBlinkFeatures, and after other flags that change these | 113 // Applied after kEnableBlinkFeatures, and after other flags that change these |
| 114 // features. | 114 // features. |
| 115 const char kDisableBlinkFeatures[] = "disable-blink-features"; | 115 const char kDisableBlinkFeatures[] = "disable-blink-features"; |
| 116 | 116 |
| 117 // Disables HTML5 DB support. | 117 // Disables HTML5 DB support. |
| 118 const char kDisableDatabases[] = "disable-databases"; | 118 const char kDisableDatabases[] = "disable-databases"; |
| 119 | 119 |
| 120 // Controls the loading of font files installed outside the system fonts dir. | |
| 121 // Disable: blocks loading font files from outside system fonts dir. | |
| 122 // Force: forces all fonts to use the custom font file codepath. | |
|
nasko
2016/07/22 23:51:29
What is the default behavior when the flag isn't p
Ilya Kulshin
2016/07/25 21:22:45
Acknowledged.
| |
| 123 const char kDisableDirectWriteCustomFonts[] = | |
| 124 "disable-directwrite-custom-fonts"; | |
| 125 const char kForceDirectWriteCustomFonts[] = "force-directwrite-custom-fonts"; | |
|
nasko
2016/07/22 23:51:29
This needs to be put in alphabetical order.
Ilya Kulshin
2016/07/25 21:22:45
Acknowledged.
| |
| 126 | |
| 120 // Disable the per-domain blocking for 3D APIs after GPU reset. | 127 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 121 // This switch is intended only for tests. | 128 // This switch is intended only for tests. |
| 122 const char kDisableDomainBlockingFor3DAPIs[] = | 129 const char kDisableDomainBlockingFor3DAPIs[] = |
| 123 "disable-domain-blocking-for-3d-apis"; | 130 "disable-domain-blocking-for-3d-apis"; |
| 124 | 131 |
| 125 // Disable experimental WebGL support. | 132 // Disable experimental WebGL support. |
| 126 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 133 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 127 | 134 |
| 128 // Comma-separated list of feature names to disable. See also kEnableFeatures. | 135 // Comma-separated list of feature names to disable. See also kEnableFeatures. |
| 129 const char kDisableFeatures[] = "disable-features"; | 136 const char kDisableFeatures[] = "disable-features"; |
| (...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1069 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1076 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1070 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1071 | 1078 |
| 1072 // Specifies the testcase used by the IPC fuzzer. | 1079 // Specifies the testcase used by the IPC fuzzer. |
| 1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1074 #endif | 1081 #endif |
| 1075 | 1082 |
| 1076 // Don't dump stuff here, follow the same order as the header. | 1083 // Don't dump stuff here, follow the same order as the header. |
| 1077 | 1084 |
| 1078 } // namespace switches | 1085 } // namespace switches |
| OLD | NEW |