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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 "disable-accelerated-fixed-root-background"; | 82 "disable-accelerated-fixed-root-background"; |
83 | 83 |
84 // Disables accelerated compositing for overflow scroll. | 84 // Disables accelerated compositing for overflow scroll. |
85 const char kDisableAcceleratedOverflowScroll[] = | 85 const char kDisableAcceleratedOverflowScroll[] = |
86 "disable-accelerated-overflow-scroll"; | 86 "disable-accelerated-overflow-scroll"; |
87 | 87 |
88 // Disables layer squashing. | 88 // Disables layer squashing. |
89 const char kDisableLayerSquashing[] = | 89 const char kDisableLayerSquashing[] = |
90 "disable-layer-squashing"; | 90 "disable-layer-squashing"; |
91 | 91 |
92 // Disables GPU accelerated video display. | |
93 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | |
94 | |
95 // Disables hardware acceleration of video decode, where available. | 92 // Disables hardware acceleration of video decode, where available. |
96 const char kDisableAcceleratedVideoDecode[] = | 93 const char kDisableAcceleratedVideoDecode[] = |
97 "disable-accelerated-video-decode"; | 94 "disable-accelerated-video-decode"; |
98 | 95 |
99 // Disables the alternate window station for the renderer. | 96 // Disables the alternate window station for the renderer. |
100 const char kDisableAltWinstation[] = "disable-winsta"; | 97 const char kDisableAltWinstation[] = "disable-winsta"; |
101 | 98 |
102 // Disable the ApplicationCache. | 99 // Disable the ApplicationCache. |
103 const char kDisableApplicationCache[] = "disable-application-cache"; | 100 const char kDisableApplicationCache[] = "disable-application-cache"; |
104 | 101 |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 | 1014 |
1018 // Disables support for Core Animation plugins. This is triggered when | 1015 // Disables support for Core Animation plugins. This is triggered when |
1019 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1016 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1020 const char kDisableCoreAnimationPlugins[] = | 1017 const char kDisableCoreAnimationPlugins[] = |
1021 "disable-core-animation-plugins"; | 1018 "disable-core-animation-plugins"; |
1022 #endif | 1019 #endif |
1023 | 1020 |
1024 // Don't dump stuff here, follow the same order as the header. | 1021 // Don't dump stuff here, follow the same order as the header. |
1025 | 1022 |
1026 } // namespace switches | 1023 } // namespace switches |
OLD | NEW |