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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 92 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
93 | 93 |
94 // Disables accelerated compositing for overflow scroll. | 94 // Disables accelerated compositing for overflow scroll. |
95 const char kDisableAcceleratedOverflowScroll[] = | 95 const char kDisableAcceleratedOverflowScroll[] = |
96 "disable-accelerated-overflow-scroll"; | 96 "disable-accelerated-overflow-scroll"; |
97 | 97 |
98 // Disables layer squashing. | 98 // Disables layer squashing. |
99 const char kDisableLayerSquashing[] = | 99 const char kDisableLayerSquashing[] = |
100 "disable-layer-squashing"; | 100 "disable-layer-squashing"; |
101 | 101 |
102 // Disables GPU accelerated video display. | |
103 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | |
104 | |
105 // Disables hardware acceleration of video decode, where available. | 102 // Disables hardware acceleration of video decode, where available. |
106 const char kDisableAcceleratedVideoDecode[] = | 103 const char kDisableAcceleratedVideoDecode[] = |
107 "disable-accelerated-video-decode"; | 104 "disable-accelerated-video-decode"; |
108 | 105 |
109 // Disables the alternate window station for the renderer. | 106 // Disables the alternate window station for the renderer. |
110 const char kDisableAltWinstation[] = "disable-winsta"; | 107 const char kDisableAltWinstation[] = "disable-winsta"; |
111 | 108 |
112 // Disable the ApplicationCache. | 109 // Disable the ApplicationCache. |
113 const char kDisableApplicationCache[] = "disable-application-cache"; | 110 const char kDisableApplicationCache[] = "disable-application-cache"; |
114 | 111 |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 | 1023 |
1027 // Disables support for Core Animation plugins. This is triggered when | 1024 // Disables support for Core Animation plugins. This is triggered when |
1028 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1025 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1029 const char kDisableCoreAnimationPlugins[] = | 1026 const char kDisableCoreAnimationPlugins[] = |
1030 "disable-core-animation-plugins"; | 1027 "disable-core-animation-plugins"; |
1031 #endif | 1028 #endif |
1032 | 1029 |
1033 // Don't dump stuff here, follow the same order as the header. | 1030 // Don't dump stuff here, follow the same order as the header. |
1034 | 1031 |
1035 } // namespace switches | 1032 } // namespace switches |
OLD | NEW |