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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Do not launch the GPU process shortly after browser process launch. Instead | 114 // Do not launch the GPU process shortly after browser process launch. Instead |
115 // launch it when it is first needed. | 115 // launch it when it is first needed. |
116 const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; | 116 const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; |
117 | 117 |
118 // Disable the GPU process sandbox. | 118 // Disable the GPU process sandbox. |
119 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 119 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
120 | 120 |
121 // Reduces the GPU process sandbox to be less strict. | 121 // Reduces the GPU process sandbox to be less strict. |
122 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; | 122 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; |
123 | 123 |
| 124 // Enable the GPU process sandbox (Chrome OS only for now). |
| 125 const char kEnableGPUSandbox[] = "enable-gpu-sandbox"; |
| 126 |
124 // Suppresses hang monitor dialogs in renderer processes. This may allow slow | 127 // Suppresses hang monitor dialogs in renderer processes. This may allow slow |
125 // unload handlers on a page to prevent the tab from closing, but the Task | 128 // unload handlers on a page to prevent the tab from closing, but the Task |
126 // Manager can be used to terminate the offending process in this case. | 129 // Manager can be used to terminate the offending process in this case. |
127 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 130 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
128 | 131 |
129 // Disable the use of an ImageTransportSurface. This means the GPU process | 132 // Disable the use of an ImageTransportSurface. This means the GPU process |
130 // will present the rendered page rather than the browser process. | 133 // will present the rendered page rather than the browser process. |
131 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; | 134 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; |
132 | 135 |
133 // Disables HTML5 Forms interactive validation. | 136 // Disables HTML5 Forms interactive validation. |
(...skipping 524 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 |