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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 // Do not launch the GPU process shortly after browser process launch. Instead | 123 // Do not launch the GPU process shortly after browser process launch. Instead |
124 // launch it when it is first needed. | 124 // launch it when it is first needed. |
125 const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; | 125 const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; |
126 | 126 |
127 // Disable the GPU process sandbox. | 127 // Disable the GPU process sandbox. |
128 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 128 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
129 | 129 |
130 // Reduces the GPU process sandbox to be less strict. | 130 // Reduces the GPU process sandbox to be less strict. |
131 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; | 131 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; |
132 | 132 |
133 // Enable the GPU process sandbox (Linux/Chrome OS only for now). | |
134 const char kEnableGpuSandbox[] = "enable-gpu-sandbox"; | |
brettw
2012/06/12 01:03:54
Please aligh the = like the other ones (looks like
Jorge Lucangeli Obes
2012/06/12 01:27:35
Done.
| |
135 | |
133 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 136 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
134 // unload handlers on a page to prevent the tab from closing, but the Task | 137 // unload handlers on a page to prevent the tab from closing, but the Task |
135 // Manager can be used to terminate the offending process in this case. | 138 // Manager can be used to terminate the offending process in this case. |
136 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 139 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
137 | 140 |
138 // Disable the use of an ImageTransportSurface. This means the GPU process | 141 // Disable the use of an ImageTransportSurface. This means the GPU process |
139 // will present the rendered page rather than the browser process. | 142 // will present the rendered page rather than the browser process. |
140 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; | 143 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; |
141 | 144 |
142 // Disables HTML5 Forms interactive validation. | 145 // Disables HTML5 Forms interactive validation. |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
664 const char kDefaultTileWidth[] = "default-tile-width"; | 667 const char kDefaultTileWidth[] = "default-tile-width"; |
665 const char kDefaultTileHeight[] = "default-tile-height"; | 668 const char kDefaultTileHeight[] = "default-tile-height"; |
666 | 669 |
667 // Sets the width and height above which a composited layer will get tiled. | 670 // Sets the width and height above which a composited layer will get tiled. |
668 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 671 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
669 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 672 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
670 | 673 |
671 const char kFixedPositionCreatesStackingContext[] | 674 const char kFixedPositionCreatesStackingContext[] |
672 = "fixed-position-creates-stacking-context"; | 675 = "fixed-position-creates-stacking-context"; |
673 } // namespace switches | 676 } // namespace switches |
OLD | NEW |