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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 331 |
332 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 332 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
333 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 333 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
334 | 334 |
335 // Specifies if the |DOMAutomationController| needs to be bound in the | 335 // Specifies if the |DOMAutomationController| needs to be bound in the |
336 // renderer. This binding happens on per-frame basis and hence can potentially | 336 // renderer. This binding happens on per-frame basis and hence can potentially |
337 // be a performance bottleneck. One should only enable it when automating dom | 337 // be a performance bottleneck. One should only enable it when automating dom |
338 // based tests. | 338 // based tests. |
339 const char kDomAutomationController[] = "dom-automation"; | 339 const char kDomAutomationController[] = "dom-automation"; |
340 | 340 |
341 // Enable gpu-accelerated SVG/W3C filters. | |
342 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | |
343 | |
344 // Enable bleeding-edge code to make Chrome draw content faster. The changes | 341 // Enable bleeding-edge code to make Chrome draw content faster. The changes |
345 // behind this path are very likely to break lots of content. | 342 // behind this path are very likely to break lots of content. |
346 // ** DO NOT use this flag unless you know what you are doing. ** | 343 // ** DO NOT use this flag unless you know what you are doing. ** |
347 const char kEnableBleedingEdgeRenderingFastPaths[] = | 344 const char kEnableBleedingEdgeRenderingFastPaths[] = |
348 "enable-bleeding-edge-rendering-fast-paths"; | 345 "enable-bleeding-edge-rendering-fast-paths"; |
349 | 346 |
350 // Disable gpu-accelerated 2d canvas. | 347 // Disable gpu-accelerated 2d canvas. |
351 const char kEnableDeferredFilters[] = "enable-deferred-filters"; | 348 const char kEnableDeferredFilters[] = "enable-deferred-filters"; |
352 | 349 |
353 // Enables accelerated compositing for backgrounds of root layers with | 350 // Enables accelerated compositing for backgrounds of root layers with |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 #endif | 1049 #endif |
1053 | 1050 |
1054 #if defined(OS_POSIX) | 1051 #if defined(OS_POSIX) |
1055 // Causes the child processes to cleanly exit via calling exit(). | 1052 // Causes the child processes to cleanly exit via calling exit(). |
1056 const char kChildCleanExit[] = "child-clean-exit"; | 1053 const char kChildCleanExit[] = "child-clean-exit"; |
1057 #endif | 1054 #endif |
1058 | 1055 |
1059 // Don't dump stuff here, follow the same order as the header. | 1056 // Don't dump stuff here, follow the same order as the header. |
1060 | 1057 |
1061 } // namespace switches | 1058 } // namespace switches |
OLD | NEW |