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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
176 | 176 |
177 // Disable smooth scrolling for testing. | 177 // Disable smooth scrolling for testing. |
178 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 178 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
179 | 179 |
180 // Disable the seccomp sandbox (Linux only) | 180 // Disable the seccomp sandbox (Linux only) |
181 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox"; | 181 const char kDisableSeccompSandbox[] = "disable-seccomp-sandbox"; |
182 | 182 |
183 // Disable the seccomp filter sandbox (Linux only) | 183 // Disable the seccomp filter sandbox (Linux only) |
184 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; | 184 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; |
185 | 185 |
186 // Enable the seccomp filter sandbox for the GPU process (Chrome OS only) | |
187 const char kEnableChromeOSGPUSandbox[] = "enable-chromeos-gpu-sandbox"; | |
Chris Evans
2012/06/07 23:11:34
I think this flag should be more generic, i.e. "en
Jorge Lucangeli Obes
2012/06/08 00:15:24
Changed flag name, but I'm wary about using the fl
| |
188 | |
186 // Disable session storage. | 189 // Disable session storage. |
187 const char kDisableSessionStorage[] = "disable-session-storage"; | 190 const char kDisableSessionStorage[] = "disable-session-storage"; |
188 | 191 |
189 // Enable shared workers. Functionality not yet complete. | 192 // Enable shared workers. Functionality not yet complete. |
190 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 193 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
191 | 194 |
192 // Disables site-specific tailoring to compatibility issues in WebKit. | 195 // Disables site-specific tailoring to compatibility issues in WebKit. |
193 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 196 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
194 | 197 |
195 // Disables speech input. | 198 // Disables speech input. |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
658 const char kDefaultTileWidth[] = "default-tile-width"; | 661 const char kDefaultTileWidth[] = "default-tile-width"; |
659 const char kDefaultTileHeight[] = "default-tile-height"; | 662 const char kDefaultTileHeight[] = "default-tile-height"; |
660 | 663 |
661 // Sets the width and height above which a composited layer will get tiled. | 664 // Sets the width and height above which a composited layer will get tiled. |
662 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 665 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
663 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 666 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
664 | 667 |
665 const char kFixedPositionCreatesStackingContext[] | 668 const char kFixedPositionCreatesStackingContext[] |
666 = "fixed-position-creates-stacking-context"; | 669 = "fixed-position-creates-stacking-context"; |
667 } // namespace switches | 670 } // namespace switches |
OLD | NEW |