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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // be a performance bottleneck. One should only enable it when automating dom | 314 // be a performance bottleneck. One should only enable it when automating dom |
315 // based tests. | 315 // based tests. |
316 const char kDomAutomationController[] = "dom-automation"; | 316 const char kDomAutomationController[] = "dom-automation"; |
317 | 317 |
318 // Enable bleeding-edge code to make Chrome draw content faster. The changes | 318 // Enable bleeding-edge code to make Chrome draw content faster. The changes |
319 // behind this path are very likely to break lots of content. | 319 // behind this path are very likely to break lots of content. |
320 // ** DO NOT use this flag unless you know what you are doing. ** | 320 // ** DO NOT use this flag unless you know what you are doing. ** |
321 const char kEnableBleedingEdgeRenderingFastPaths[] = | 321 const char kEnableBleedingEdgeRenderingFastPaths[] = |
322 "enable-bleeding-edge-rendering-fast-paths"; | 322 "enable-bleeding-edge-rendering-fast-paths"; |
323 | 323 |
324 // Disable gpu-accelerated 2d canvas. | 324 // Disable deferred image filters. |
325 const char kEnableDeferredFilters[] = "enable-deferred-filters"; | 325 const char kDisableDeferredFilters[] = "disable-deferred-filters"; |
326 | 326 |
327 // Enables accelerated compositing for backgrounds of root layers with | 327 // Enables accelerated compositing for backgrounds of root layers with |
328 // background-attachment: fixed. | 328 // background-attachment: fixed. |
329 const char kEnableAcceleratedFixedRootBackground[] = | 329 const char kEnableAcceleratedFixedRootBackground[] = |
330 "enable-accelerated-fixed-root-background"; | 330 "enable-accelerated-fixed-root-background"; |
331 | 331 |
332 // Enables accelerated compositing for overflow scroll. Promotes eligible | 332 // Enables accelerated compositing for overflow scroll. Promotes eligible |
333 // overflow:scroll elements to layers to enable accelerated scrolling for them. | 333 // overflow:scroll elements to layers to enable accelerated scrolling for them. |
334 const char kEnableAcceleratedOverflowScroll[] = | 334 const char kEnableAcceleratedOverflowScroll[] = |
335 "enable-accelerated-overflow-scroll"; | 335 "enable-accelerated-overflow-scroll"; |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 | 1013 |
1014 // Disables support for Core Animation plugins. This is triggered when | 1014 // Disables support for Core Animation plugins. This is triggered when |
1015 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1016 const char kDisableCoreAnimationPlugins[] = | 1016 const char kDisableCoreAnimationPlugins[] = |
1017 "disable-core-animation-plugins"; | 1017 "disable-core-animation-plugins"; |
1018 #endif | 1018 #endif |
1019 | 1019 |
1020 // Don't dump stuff here, follow the same order as the header. | 1020 // Don't dump stuff here, follow the same order as the header. |
1021 | 1021 |
1022 } // namespace switches | 1022 } // namespace switches |
OLD | NEW |