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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 77 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
78 // This is controlled by policy and is kept separate from the other | 78 // This is controlled by policy and is kept separate from the other |
79 // enable/disable switches to avoid accidentally regressing the policy | 79 // enable/disable switches to avoid accidentally regressing the policy |
80 // support for controlling access to these APIs. | 80 // support for controlling access to these APIs. |
81 const char kDisable3DAPIs[] = "disable-3d-apis"; | 81 const char kDisable3DAPIs[] = "disable-3d-apis"; |
82 | 82 |
83 // Disable gpu-accelerated 2d canvas. | 83 // Disable gpu-accelerated 2d canvas. |
84 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 84 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
85 | 85 |
86 // Disables accelerated compositing. | |
87 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; | |
88 | |
89 // Disables accelerated compositing for backgrounds of root layers with | 86 // Disables accelerated compositing for backgrounds of root layers with |
90 // background-attachment: fixed. | 87 // background-attachment: fixed. |
91 const char kDisableAcceleratedFixedRootBackground[] = | 88 const char kDisableAcceleratedFixedRootBackground[] = |
92 "disable-accelerated-fixed-root-background"; | 89 "disable-accelerated-fixed-root-background"; |
93 | 90 |
94 // Disables the hardware acceleration of 3D CSS and animation. | 91 // Disables the hardware acceleration of 3D CSS and animation. |
95 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 92 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
96 | 93 |
97 // Disables accelerated compositing for overflow scroll. | 94 // Disables accelerated compositing for overflow scroll. |
98 const char kDisableAcceleratedOverflowScroll[] = | 95 const char kDisableAcceleratedOverflowScroll[] = |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 | 1033 |
1037 // Disables support for Core Animation plugins. This is triggered when | 1034 // Disables support for Core Animation plugins. This is triggered when |
1038 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1035 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1039 const char kDisableCoreAnimationPlugins[] = | 1036 const char kDisableCoreAnimationPlugins[] = |
1040 "disable-core-animation-plugins"; | 1037 "disable-core-animation-plugins"; |
1041 #endif | 1038 #endif |
1042 | 1039 |
1043 // Don't dump stuff here, follow the same order as the header. | 1040 // Don't dump stuff here, follow the same order as the header. |
1044 | 1041 |
1045 } // namespace switches | 1042 } // namespace switches |
OLD | NEW |