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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 111 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
112 | 112 |
113 // Suppresses support for the Geolocation javascript API. | 113 // Suppresses support for the Geolocation javascript API. |
114 const char kDisableGeolocation[] = "disable-geolocation"; | 114 const char kDisableGeolocation[] = "disable-geolocation"; |
115 | 115 |
116 // Disable GL multisampling. | 116 // Disable GL multisampling. |
117 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | 117 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; |
118 | 118 |
119 // Do not launch the GPU process shortly after browser process launch. Instead | 119 // Do not launch the GPU process shortly after browser process launch. Instead |
120 // launch it when it is first needed. | 120 // launch it when it is first needed. |
121 const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; | 121 const char kDisableGpuProcessPrelaunch[] = "disable-gpu-process-prelaunch"; |
122 | 122 |
123 // Disable the GPU process sandbox. | 123 // Disable the GPU process sandbox. |
124 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; | 124 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; |
125 | 125 |
126 // Reduces the GPU process sandbox to be less strict. | 126 // Reduces the GPU process sandbox to be less strict. |
127 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; | 127 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; |
128 | 128 |
129 // Enable the GPU process sandbox (Linux/Chrome OS only for now). | 129 // Enable the GPU process sandbox (Linux/Chrome OS only for now). |
130 const char kEnableGpuSandbox[] = "enable-gpu-sandbox"; | 130 const char kEnableGpuSandbox[] = "enable-gpu-sandbox"; |
131 | 131 |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 const char kDefaultTileWidth[] = "default-tile-width"; | 682 const char kDefaultTileWidth[] = "default-tile-width"; |
683 const char kDefaultTileHeight[] = "default-tile-height"; | 683 const char kDefaultTileHeight[] = "default-tile-height"; |
684 | 684 |
685 // Sets the width and height above which a composited layer will get tiled. | 685 // Sets the width and height above which a composited layer will get tiled. |
686 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 686 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
687 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 687 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
688 | 688 |
689 const char kFixedPositionCreatesStackingContext[] | 689 const char kFixedPositionCreatesStackingContext[] |
690 = "fixed-position-creates-stacking-context"; | 690 = "fixed-position-creates-stacking-context"; |
691 } // namespace switches | 691 } // namespace switches |
OLD | NEW |