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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // Disable LocalStorage. | 161 // Disable LocalStorage. |
162 const char kDisableLocalStorage[] = "disable-local-storage"; | 162 const char kDisableLocalStorage[] = "disable-local-storage"; |
163 | 163 |
164 // Force logging to be disabled. Logging is enabled by default in debug | 164 // Force logging to be disabled. Logging is enabled by default in debug |
165 // builds. | 165 // builds. |
166 const char kDisableLogging[] = "disable-logging"; | 166 const char kDisableLogging[] = "disable-logging"; |
167 | 167 |
168 // Prevent plugins from running. | 168 // Prevent plugins from running. |
169 const char kDisablePlugins[] = "disable-plugins"; | 169 const char kDisablePlugins[] = "disable-plugins"; |
170 | 170 |
171 // Disable the JavaScript Pointer Lock API. | |
172 const char kDisablePointerLock[] = "disable-pointer-lock"; | |
173 | |
174 // Disables remote web font support. SVG font should always work whether this | 171 // Disables remote web font support. SVG font should always work whether this |
175 // option is specified or not. | 172 // option is specified or not. |
176 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 173 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
177 | 174 |
178 // Turns off the accessibility in the renderer. | 175 // Turns off the accessibility in the renderer. |
179 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 176 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
180 | 177 |
181 // Disable False Start in SSL and TLS connections. | 178 // Disable False Start in SSL and TLS connections. |
182 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 179 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
183 | 180 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 const char kEnableFastback[] = "enable-fastback"; | 274 const char kEnableFastback[] = "enable-fastback"; |
278 | 275 |
279 // By default, a page is laid out to fill the entire width of the window. | 276 // By default, a page is laid out to fill the entire width of the window. |
280 // This flag fixes the layout of the page to a default of 980 CSS pixels, | 277 // This flag fixes the layout of the page to a default of 980 CSS pixels, |
281 // or to a specified width and height using --enable-fixed-layout=w,h | 278 // or to a specified width and height using --enable-fixed-layout=w,h |
282 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 279 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
283 | 280 |
284 // Enable the JavaScript Full Screen API. | 281 // Enable the JavaScript Full Screen API. |
285 const char kDisableFullScreen[] = "disable-fullscreen"; | 282 const char kDisableFullScreen[] = "disable-fullscreen"; |
286 | 283 |
287 // Enable the JavaScript Pointer Lock API. | |
288 const char kEnablePointerLock[] = "enable-pointer-lock"; | |
289 | |
290 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This | 284 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This |
291 // flag is ignored on Metro environment. | 285 // flag is ignored on Metro environment. |
292 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; | 286 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; |
293 | 287 |
294 // Enable Gesture Tap Highlight | 288 // Enable Gesture Tap Highlight |
295 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; | 289 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; |
296 | 290 |
297 // Enables the GPU benchmarking extension | 291 // Enables the GPU benchmarking extension |
298 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; | 292 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; |
299 | 293 |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // Sets the width and height above which a composited layer will get tiled. | 699 // Sets the width and height above which a composited layer will get tiled. |
706 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 700 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
707 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 701 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
708 | 702 |
709 const char kEnableFixedPositionCreatesStackingContext[] | 703 const char kEnableFixedPositionCreatesStackingContext[] |
710 = "enable-fixed-position-creates-stacking-context"; | 704 = "enable-fixed-position-creates-stacking-context"; |
711 const char kDisableFixedPositionCreatesStackingContext[] | 705 const char kDisableFixedPositionCreatesStackingContext[] |
712 = "disable-fixed-position-creates-stacking-context"; | 706 = "disable-fixed-position-creates-stacking-context"; |
713 | 707 |
714 } // namespace switches | 708 } // namespace switches |
OLD | NEW |