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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // Disable LocalStorage. | 157 // Disable LocalStorage. |
158 const char kDisableLocalStorage[] = "disable-local-storage"; | 158 const char kDisableLocalStorage[] = "disable-local-storage"; |
159 | 159 |
160 // Force logging to be disabled. Logging is enabled by default in debug | 160 // Force logging to be disabled. Logging is enabled by default in debug |
161 // builds. | 161 // builds. |
162 const char kDisableLogging[] = "disable-logging"; | 162 const char kDisableLogging[] = "disable-logging"; |
163 | 163 |
164 // Prevent plugins from running. | 164 // Prevent plugins from running. |
165 const char kDisablePlugins[] = "disable-plugins"; | 165 const char kDisablePlugins[] = "disable-plugins"; |
166 | 166 |
167 // Disable the JavaScript Pointer Lock API. | |
168 const char kDisablePointerLock[] = "disable-pointer-lock"; | |
169 | |
170 // Disable pop-up blocking. | 167 // Disable pop-up blocking. |
171 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 168 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
172 | 169 |
173 // Disables remote web font support. SVG font should always work whether this | 170 // Disables remote web font support. SVG font should always work whether this |
174 // option is specified or not. | 171 // option is specified or not. |
175 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 172 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
176 | 173 |
177 // Turns off the accessibility in the renderer. | 174 // Turns off the accessibility in the renderer. |
178 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 175 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
179 | 176 |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 const char kDefaultTileWidth[] = "default-tile-width"; | 680 const char kDefaultTileWidth[] = "default-tile-width"; |
684 const char kDefaultTileHeight[] = "default-tile-height"; | 681 const char kDefaultTileHeight[] = "default-tile-height"; |
685 | 682 |
686 // Sets the width and height above which a composited layer will get tiled. | 683 // Sets the width and height above which a composited layer will get tiled. |
687 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 684 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
688 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 685 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
689 | 686 |
690 const char kFixedPositionCreatesStackingContext[] | 687 const char kFixedPositionCreatesStackingContext[] |
691 = "fixed-position-creates-stacking-context"; | 688 = "fixed-position-creates-stacking-context"; |
692 } // namespace switches | 689 } // namespace switches |
OLD | NEW |