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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // Force logging to be disabled. Logging is enabled by default in debug | 156 // Force logging to be disabled. Logging is enabled by default in debug |
157 // builds. | 157 // builds. |
158 const char kDisableLogging[] = "disable-logging"; | 158 const char kDisableLogging[] = "disable-logging"; |
159 | 159 |
160 // Prevent plugins from running. | 160 // Prevent plugins from running. |
161 const char kDisablePlugins[] = "disable-plugins"; | 161 const char kDisablePlugins[] = "disable-plugins"; |
162 | 162 |
163 // Disable the JavaScript Pointer Lock API. | 163 // Disable the JavaScript Pointer Lock API. |
164 const char kDisablePointerLock[] = "disable-pointer-lock"; | 164 const char kDisablePointerLock[] = "disable-pointer-lock"; |
165 | 165 |
166 // Disable pop-up blocking. | |
167 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | |
168 | |
169 // Disables remote web font support. SVG font should always work whether this | 166 // Disables remote web font support. SVG font should always work whether this |
170 // option is specified or not. | 167 // option is specified or not. |
171 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 168 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
172 | 169 |
173 // Turns off the accessibility in the renderer. | 170 // Turns off the accessibility in the renderer. |
174 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 171 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
175 | 172 |
176 // Disable False Start in SSL and TLS connections. | 173 // Disable False Start in SSL and TLS connections. |
177 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 174 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
178 | 175 |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 const char kDefaultTileWidth[] = "default-tile-width"; | 663 const char kDefaultTileWidth[] = "default-tile-width"; |
667 const char kDefaultTileHeight[] = "default-tile-height"; | 664 const char kDefaultTileHeight[] = "default-tile-height"; |
668 | 665 |
669 // Sets the width and height above which a composited layer will get tiled. | 666 // Sets the width and height above which a composited layer will get tiled. |
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 667 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 668 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
672 | 669 |
673 const char kFixedPositionCreatesStackingContext[] | 670 const char kFixedPositionCreatesStackingContext[] |
674 = "fixed-position-creates-stacking-context"; | 671 = "fixed-position-creates-stacking-context"; |
675 } // namespace switches | 672 } // namespace switches |
OLD | NEW |