| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // Enables the creation of compositing layers for fixed position elements. | 226 // Enables the creation of compositing layers for fixed position elements. |
| 227 const char kEnableCompositingForFixedPosition[] = | 227 const char kEnableCompositingForFixedPosition[] = |
| 228 "enable-fixed-position-compositing"; | 228 "enable-fixed-position-compositing"; |
| 229 | 229 |
| 230 // Enable deferred 2d canvas rendering. | 230 // Enable deferred 2d canvas rendering. |
| 231 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; | 231 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; |
| 232 | 232 |
| 233 // Enables compositing to texture instead of display. | 233 // Enables compositing to texture instead of display. |
| 234 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; | 234 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; |
| 235 | 235 |
| 236 // Enables CSS3 regions |
| 237 const char kEnableCssRegions[] = "enable-css-regions"; |
| 238 |
| 236 // Enables device motion events. | 239 // Enables device motion events. |
| 237 const char kEnableDeviceMotion[] = "enable-device-motion"; | 240 const char kEnableDeviceMotion[] = "enable-device-motion"; |
| 238 | 241 |
| 239 // Enables the fastback page cache. | 242 // Enables the fastback page cache. |
| 240 const char kEnableFastback[] = "enable-fastback"; | 243 const char kEnableFastback[] = "enable-fastback"; |
| 241 | 244 |
| 242 // By default, a page is laid out to fill the entire width of the window. | 245 // By default, a page is laid out to fill the entire width of the window. |
| 243 // This flag fixes the layout of the page to a default of 980 CSS pixels. | 246 // This flag fixes the layout of the page to a default of 980 CSS pixels. |
| 244 const char kEnableFixedLayout[] = "enable-fixed-layout"; | 247 const char kEnableFixedLayout[] = "enable-fixed-layout"; |
| 245 | 248 |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 | 637 |
| 635 // Disables the use of a 3D software rasterizer. | 638 // Disables the use of a 3D software rasterizer. |
| 636 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 639 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 637 | 640 |
| 638 #if defined(USE_AURA) | 641 #if defined(USE_AURA) |
| 639 // Forces usage of the test compositor. Needed to run ui tests on bots. | 642 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 640 extern const char kTestCompositor[] = "test-compositor"; | 643 extern const char kTestCompositor[] = "test-compositor"; |
| 641 #endif | 644 #endif |
| 642 | 645 |
| 643 } // namespace switches | 646 } // namespace switches |
| OLD | NEW |