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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 // Disable device motion events. | 149 // Disable device motion events. |
150 const char kDisableDeviceMotion[] = "disable-device-motion"; | 150 const char kDisableDeviceMotion[] = "disable-device-motion"; |
151 | 151 |
152 // Disable device orientation events. | 152 // Disable device orientation events. |
153 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 153 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
154 | 154 |
155 // Handles URL requests by NPAPI plugins through the renderer. | 155 // Handles URL requests by NPAPI plugins through the renderer. |
156 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 156 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
157 | 157 |
| 158 // Disable the per-domain blocking for 3D APIs after GPU reset. |
| 159 // This switch is intended only for tests. |
| 160 extern const char kDisableDomainBlockingFor3DAPIs[] = |
| 161 "disable-domain-blocking-for-3d-apis"; |
| 162 |
158 // Disable experimental WebGL support. | 163 // Disable experimental WebGL support. |
159 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 164 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
160 | 165 |
161 // Disable FileSystem API. | 166 // Disable FileSystem API. |
162 const char kDisableFileSystem[] = "disable-file-system"; | 167 const char kDisableFileSystem[] = "disable-file-system"; |
163 | 168 |
164 const char kDisableFixedPositionCreatesStackingContext[] | 169 const char kDisableFixedPositionCreatesStackingContext[] |
165 = "disable-fixed-position-creates-stacking-context"; | 170 = "disable-fixed-position-creates-stacking-context"; |
166 | 171 |
167 // Disable 3D inside of flapper. | 172 // Disable 3D inside of flapper. |
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 #endif | 992 #endif |
988 | 993 |
989 #if defined(USE_AURA) | 994 #if defined(USE_AURA) |
990 // Forces usage of the test compositor. Needed to run ui tests on bots. | 995 // Forces usage of the test compositor. Needed to run ui tests on bots. |
991 extern const char kTestCompositor[] = "test-compositor"; | 996 extern const char kTestCompositor[] = "test-compositor"; |
992 #endif | 997 #endif |
993 | 998 |
994 // Don't dump stuff here, follow the same order as the header. | 999 // Don't dump stuff here, follow the same order as the header. |
995 | 1000 |
996 } // namespace switches | 1001 } // namespace switches |
OLD | NEW |