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