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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // Manager can be used to terminate the offending process in this case. | 141 // Manager can be used to terminate the offending process in this case. |
142 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 142 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
143 | 143 |
144 // Disable the RenderThread's HistogramCustomizer. | 144 // Disable the RenderThread's HistogramCustomizer. |
145 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; | 145 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; |
146 | 146 |
147 // Disable the use of an ImageTransportSurface. This means the GPU process | 147 // Disable the use of an ImageTransportSurface. This means the GPU process |
148 // will present the rendered page rather than the browser process. | 148 // will present the rendered page rather than the browser process. |
149 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; | 149 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; |
150 | 150 |
| 151 // Use hardware gpu, if available, for tests. |
| 152 const char kUseGpuInTests[] = "use-gpu-in-tests"; |
| 153 |
151 // Disables GPU hardware acceleration. If software renderer is not in place, | 154 // Disables GPU hardware acceleration. If software renderer is not in place, |
152 // then the GPU process won't launch. | 155 // then the GPU process won't launch. |
153 const char kDisableGpu[] = "disable-gpu"; | 156 const char kDisableGpu[] = "disable-gpu"; |
154 | 157 |
155 // Disable the thread that crashes the GPU process if it stops responding to | 158 // Disable the thread that crashes the GPU process if it stops responding to |
156 // messages. | 159 // messages. |
157 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 160 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
158 | 161 |
159 // Prevent Java from running. | 162 // Prevent Java from running. |
160 const char kDisableJava[] = "disable-java"; | 163 const char kDisableJava[] = "disable-java"; |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 = "disable-fixed-position-creates-stacking-context"; | 764 = "disable-fixed-position-creates-stacking-context"; |
762 | 765 |
763 // Defer image decoding in WebKit until painting. | 766 // Defer image decoding in WebKit until painting. |
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 767 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
765 | 768 |
766 // Enables history navigation in response to horizontal overscroll. | 769 // Enables history navigation in response to horizontal overscroll. |
767 const char kEnableOverscrollHistoryNavigation[] = | 770 const char kEnableOverscrollHistoryNavigation[] = |
768 "enable-overscroll-history-navigation"; | 771 "enable-overscroll-history-navigation"; |
769 | 772 |
770 } // namespace switches | 773 } // namespace switches |
OLD | NEW |