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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 306 |
307 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 307 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
308 const char kDisableWebSecurity[] = "disable-web-security"; | 308 const char kDisableWebSecurity[] = "disable-web-security"; |
309 | 309 |
310 // Disables support for XSLT. | 310 // Disables support for XSLT. |
311 const char kDisableXSLT[] = "disable-xslt"; | 311 const char kDisableXSLT[] = "disable-xslt"; |
312 | 312 |
313 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 313 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
314 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 314 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
315 | 315 |
| 316 // Disables zero-copy texture updates when using map-image based rasterizers. |
| 317 const char kDisableZeroCopy[] = "disable-zero-copy"; |
| 318 |
316 // Specifies if the |DOMAutomationController| needs to be bound in the | 319 // Specifies if the |DOMAutomationController| needs to be bound in the |
317 // renderer. This binding happens on per-frame basis and hence can potentially | 320 // renderer. This binding happens on per-frame basis and hence can potentially |
318 // be a performance bottleneck. One should only enable it when automating dom | 321 // be a performance bottleneck. One should only enable it when automating dom |
319 // based tests. | 322 // based tests. |
320 const char kDomAutomationController[] = "dom-automation"; | 323 const char kDomAutomationController[] = "dom-automation"; |
321 | 324 |
322 // Enable bleeding-edge code to make Chrome draw content faster. The changes | 325 // Enable bleeding-edge code to make Chrome draw content faster. The changes |
323 // behind this path are very likely to break lots of content. | 326 // behind this path are very likely to break lots of content. |
324 // ** DO NOT use this flag unless you know what you are doing. ** | 327 // ** DO NOT use this flag unless you know what you are doing. ** |
325 const char kEnableBleedingEdgeRenderingFastPaths[] = | 328 const char kEnableBleedingEdgeRenderingFastPaths[] = |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 | 1022 |
1020 // Disables support for Core Animation plugins. This is triggered when | 1023 // Disables support for Core Animation plugins. This is triggered when |
1021 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1024 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1022 const char kDisableCoreAnimationPlugins[] = | 1025 const char kDisableCoreAnimationPlugins[] = |
1023 "disable-core-animation-plugins"; | 1026 "disable-core-animation-plugins"; |
1024 #endif | 1027 #endif |
1025 | 1028 |
1026 // Don't dump stuff here, follow the same order as the header. | 1029 // Don't dump stuff here, follow the same order as the header. |
1027 | 1030 |
1028 } // namespace switches | 1031 } // namespace switches |
OLD | NEW |