OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_switches.h" | 5 #include "content/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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 // Enables WebKit accessibility within the renderer process. | 159 // Enables WebKit accessibility within the renderer process. |
160 const char kEnableAccessibility[] = "enable-accessibility"; | 160 const char kEnableAccessibility[] = "enable-accessibility"; |
161 | 161 |
162 // Enables the benchmarking extensions. | 162 // Enables the benchmarking extensions. |
163 const char kEnableBenchmarking[] = "enable-benchmarking"; | 163 const char kEnableBenchmarking[] = "enable-benchmarking"; |
164 | 164 |
165 // Enables device motion events. | 165 // Enables device motion events. |
166 const char kEnableDeviceMotion[] = "enable-device-motion"; | 166 const char kEnableDeviceMotion[] = "enable-device-motion"; |
167 | 167 |
| 168 // By default, a page is laid out to fill the entire width of the window. |
| 169 // This flag fixes the layout of the page to a default of 980px. |
| 170 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| 171 |
168 // Enable the JavaScript Full Screen API. | 172 // Enable the JavaScript Full Screen API. |
169 const char kEnableFullScreen[] = "enable-fullscreen"; | 173 const char kEnableFullScreen[] = "enable-fullscreen"; |
170 | 174 |
171 // Enable the GPU plugin and Pepper 3D rendering. | 175 // Enable the GPU plugin and Pepper 3D rendering. |
172 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 176 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
173 | 177 |
174 // Force logging to be enabled. Logging is disabled by default in release | 178 // Force logging to be enabled. Logging is disabled by default in release |
175 // builds. | 179 // builds. |
176 const char kEnableLogging[] = "enable-logging"; | 180 const char kEnableLogging[] = "enable-logging"; |
177 | 181 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 // Specify the amount the trackpad should scroll by. | 477 // Specify the amount the trackpad should scroll by. |
474 const char kScrollPixels[] = "scroll-pixels"; | 478 const char kScrollPixels[] = "scroll-pixels"; |
475 #endif | 479 #endif |
476 | 480 |
477 #if !defined(OFFICIAL_BUILD) | 481 #if !defined(OFFICIAL_BUILD) |
478 // Causes the renderer process to throw an assertion on launch. | 482 // Causes the renderer process to throw an assertion on launch. |
479 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 483 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
480 #endif | 484 #endif |
481 | 485 |
482 } // namespace switches | 486 } // namespace switches |
OLD | NEW |