| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 105 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
| 106 | 106 |
| 107 // Disable the per-domain blocking for 3D APIs after GPU reset. | 107 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 108 // This switch is intended only for tests. | 108 // This switch is intended only for tests. |
| 109 extern const char kDisableDomainBlockingFor3DAPIs[] = | 109 extern const char kDisableDomainBlockingFor3DAPIs[] = |
| 110 "disable-domain-blocking-for-3d-apis"; | 110 "disable-domain-blocking-for-3d-apis"; |
| 111 | 111 |
| 112 // Disable experimental WebGL support. | 112 // Disable experimental WebGL support. |
| 113 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 113 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 114 | 114 |
| 115 // Disable FileSystem API. | |
| 116 const char kDisableFileSystem[] = "disable-file-system"; | |
| 117 | |
| 118 // Disable 3D inside of flapper. | 115 // Disable 3D inside of flapper. |
| 119 const char kDisableFlash3d[] = "disable-flash-3d"; | 116 const char kDisableFlash3d[] = "disable-flash-3d"; |
| 120 | 117 |
| 121 // Disable Stage3D inside of flapper. | 118 // Disable Stage3D inside of flapper. |
| 122 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 119 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
| 123 | 120 |
| 124 // Disables GPU hardware acceleration. If software renderer is not in place, | 121 // Disables GPU hardware acceleration. If software renderer is not in place, |
| 125 // then the GPU process won't launch. | 122 // then the GPU process won't launch. |
| 126 const char kDisableGpu[] = "disable-gpu"; | 123 const char kDisableGpu[] = "disable-gpu"; |
| 127 | 124 |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 // Windows Vista and later. | 988 // Windows Vista and later. |
| 992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 989 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 993 #endif | 990 #endif |
| 994 | 991 |
| 995 // Enables the use of NPAPI plugins. | 992 // Enables the use of NPAPI plugins. |
| 996 const char kEnableNpapi[] = "enable-npapi"; | 993 const char kEnableNpapi[] = "enable-npapi"; |
| 997 | 994 |
| 998 // Don't dump stuff here, follow the same order as the header. | 995 // Don't dump stuff here, follow the same order as the header. |
| 999 | 996 |
| 1000 } // namespace switches | 997 } // namespace switches |
| OLD | NEW |