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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const char kDisable3DAPIs[] = "disable-3d-apis"; | 74 const char kDisable3DAPIs[] = "disable-3d-apis"; |
75 | 75 |
76 // Disable gpu-accelerated 2d canvas. | 76 // Disable gpu-accelerated 2d canvas. |
77 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 77 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
78 | 78 |
79 // Disables accelerated compositing for backgrounds of root layers with | 79 // Disables accelerated compositing for backgrounds of root layers with |
80 // background-attachment: fixed. | 80 // background-attachment: fixed. |
81 const char kDisableAcceleratedFixedRootBackground[] = | 81 const char kDisableAcceleratedFixedRootBackground[] = |
82 "disable-accelerated-fixed-root-background"; | 82 "disable-accelerated-fixed-root-background"; |
83 | 83 |
84 // Disables the hardware acceleration of 3D CSS and animation. | |
85 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | |
86 | |
87 // Disables accelerated compositing for overflow scroll. | 84 // Disables accelerated compositing for overflow scroll. |
88 const char kDisableAcceleratedOverflowScroll[] = | 85 const char kDisableAcceleratedOverflowScroll[] = |
89 "disable-accelerated-overflow-scroll"; | 86 "disable-accelerated-overflow-scroll"; |
90 | 87 |
91 // Disables layer squashing. | 88 // Disables layer squashing. |
92 const char kDisableLayerSquashing[] = | 89 const char kDisableLayerSquashing[] = |
93 "disable-layer-squashing"; | 90 "disable-layer-squashing"; |
94 | 91 |
95 // Disables GPU accelerated video display. | 92 // Disables GPU accelerated video display. |
96 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | 93 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 | 1017 |
1021 // Disables support for Core Animation plugins. This is triggered when | 1018 // Disables support for Core Animation plugins. This is triggered when |
1022 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1019 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1023 const char kDisableCoreAnimationPlugins[] = | 1020 const char kDisableCoreAnimationPlugins[] = |
1024 "disable-core-animation-plugins"; | 1021 "disable-core-animation-plugins"; |
1025 #endif | 1022 #endif |
1026 | 1023 |
1027 // Don't dump stuff here, follow the same order as the header. | 1024 // Don't dump stuff here, follow the same order as the header. |
1028 | 1025 |
1029 } // namespace switches | 1026 } // namespace switches |
OLD | NEW |