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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "enable-fixed-position-compositing"; | 193 "enable-fixed-position-compositing"; |
194 | 194 |
195 // Enable DNS side checking of certificates. Still experimental, should only | 195 // Enable DNS side checking of certificates. Still experimental, should only |
196 // be used by developers at the current time. | 196 // be used by developers at the current time. |
197 const char kEnableDNSCertProvenanceChecking[] = | 197 const char kEnableDNSCertProvenanceChecking[] = |
198 "enable-dns-cert-provenance-checking"; | 198 "enable-dns-cert-provenance-checking"; |
199 | 199 |
200 // Enables device motion events. | 200 // Enables device motion events. |
201 const char kEnableDeviceMotion[] = "enable-device-motion"; | 201 const char kEnableDeviceMotion[] = "enable-device-motion"; |
202 | 202 |
| 203 // By default, a page is laid out to fill the entire width of the window. |
| 204 // This flag fixes the layout of the page to a default of 980px. |
| 205 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| 206 |
203 // Enable the JavaScript Full Screen API. | 207 // Enable the JavaScript Full Screen API. |
204 const char kDisableFullScreen[] = "disable-fullscreen"; | 208 const char kDisableFullScreen[] = "disable-fullscreen"; |
205 | 209 |
206 // Enable the JavaScript Pointer Lock API. | 210 // Enable the JavaScript Pointer Lock API. |
207 const char kEnablePointerLock[] = "enable-pointer-lock"; | 211 const char kEnablePointerLock[] = "enable-pointer-lock"; |
208 | 212 |
209 // Enable the Gamepad API | 213 // Enable the Gamepad API |
210 const char kEnableGamepad[] = "enable-gamepad"; | 214 const char kEnableGamepad[] = "enable-gamepad"; |
211 | 215 |
212 // Enable the GPU plugin and Pepper 3D rendering. | 216 // Enable the GPU plugin and Pepper 3D rendering. |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 | 562 |
559 #if !defined(OFFICIAL_BUILD) | 563 #if !defined(OFFICIAL_BUILD) |
560 // Causes the renderer process to throw an assertion on launch. | 564 // Causes the renderer process to throw an assertion on launch. |
561 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 565 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
562 #endif | 566 #endif |
563 | 567 |
564 // Enable per-tile page painting. | 568 // Enable per-tile page painting. |
565 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 569 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
566 | 570 |
567 } // namespace switches | 571 } // namespace switches |
OLD | NEW |