Chromium Code Reviews| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 | 346 |
| 347 // Specifies if the |DOMAutomationController| needs to be bound in the | 347 // Specifies if the |DOMAutomationController| needs to be bound in the |
| 348 // renderer. This binding happens on per-frame basis and hence can potentially | 348 // renderer. This binding happens on per-frame basis and hence can potentially |
| 349 // be a performance bottleneck. One should only enable it when automating dom | 349 // be a performance bottleneck. One should only enable it when automating dom |
| 350 // based tests. | 350 // based tests. |
| 351 const char kDomAutomationController[] = "dom-automation"; | 351 const char kDomAutomationController[] = "dom-automation"; |
| 352 | 352 |
| 353 // Enable gpu-accelerated SVG/W3C filters. | 353 // Enable gpu-accelerated SVG/W3C filters. |
| 354 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 354 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
| 355 | 355 |
| 356 // Disable gpu-accelerated 2d canvas. | |
| 357 const char kEnableDeferredFilters[] = "enable-deferred-filters"; | |
|
piman
2014/01/23 01:19:54
nit: Can you add this to kForwardSwitches in chrom
| |
| 358 | |
| 356 // Enables accelerated compositing for backgrounds of root layers with | 359 // Enables accelerated compositing for backgrounds of root layers with |
| 357 // background-attachment: fixed. Requires kForceCompositingMode. | 360 // background-attachment: fixed. Requires kForceCompositingMode. |
| 358 const char kEnableAcceleratedFixedRootBackground[] = | 361 const char kEnableAcceleratedFixedRootBackground[] = |
| 359 "enable-accelerated-fixed-root-background"; | 362 "enable-accelerated-fixed-root-background"; |
| 360 | 363 |
| 361 // Enables accelerated compositing for overflow scroll. Promotes eligible | 364 // Enables accelerated compositing for overflow scroll. Promotes eligible |
| 362 // overflow:scroll elements to layers to enable accelerated scrolling for them. | 365 // overflow:scroll elements to layers to enable accelerated scrolling for them. |
| 363 const char kEnableAcceleratedOverflowScroll[] = | 366 const char kEnableAcceleratedOverflowScroll[] = |
| 364 "enable-accelerated-overflow-scroll"; | 367 "enable-accelerated-overflow-scroll"; |
| 365 | 368 |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1055 #endif | 1058 #endif |
| 1056 | 1059 |
| 1057 #if defined(OS_POSIX) | 1060 #if defined(OS_POSIX) |
| 1058 // Causes the child processes to cleanly exit via calling exit(). | 1061 // Causes the child processes to cleanly exit via calling exit(). |
| 1059 const char kChildCleanExit[] = "child-clean-exit"; | 1062 const char kChildCleanExit[] = "child-clean-exit"; |
| 1060 #endif | 1063 #endif |
| 1061 | 1064 |
| 1062 // Don't dump stuff here, follow the same order as the header. | 1065 // Don't dump stuff here, follow the same order as the header. |
| 1063 | 1066 |
| 1064 } // namespace switches | 1067 } // namespace switches |
| OLD | NEW |