| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 // - Location platform support for Windows 7 | 376 // - Location platform support for Windows 7 |
| 377 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 377 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 378 | 378 |
| 379 // Load NPAPI plugins from the specified directory. | 379 // Load NPAPI plugins from the specified directory. |
| 380 const char kExtraPluginDir[] = "extra-plugin-dir"; | 380 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 381 | 381 |
| 382 // If accelerated compositing is supported, always enter compositing mode for | 382 // If accelerated compositing is supported, always enter compositing mode for |
| 383 // the base layer even when compositing is not strictly required. | 383 // the base layer even when compositing is not strictly required. |
| 384 const char kForceCompositingMode[] = "force-compositing-mode"; | 384 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 385 | 385 |
| 386 // This flag disables force compositing mode and prevents it from being enabled |
| 387 // via field trials. |
| 388 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; |
| 389 |
| 386 // Some field trials may be randomized in the browser, and the randomly selected | 390 // Some field trials may be randomized in the browser, and the randomly selected |
| 387 // outcome needs to be propagated to the renderer. For instance, this is used | 391 // outcome needs to be propagated to the renderer. For instance, this is used |
| 388 // to modify histograms recorded in the renderer, or to get the renderer to | 392 // to modify histograms recorded in the renderer, or to get the renderer to |
| 389 // also set of its state (initialize, or not initialize components) to match the | 393 // also set of its state (initialize, or not initialize components) to match the |
| 390 // experiment(s). The option is also useful for forcing field trials when | 394 // experiment(s). The option is also useful for forcing field trials when |
| 391 // testing changes locally. The argument is a list of name and value pairs, | 395 // testing changes locally. The argument is a list of name and value pairs, |
| 392 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in | 396 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in |
| 393 // field_trial.h for details. | 397 // field_trial.h for details. |
| 394 const char kForceFieldTrials[] = "force-fieldtrials"; | 398 const char kForceFieldTrials[] = "force-fieldtrials"; |
| 395 | 399 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 const char kDefaultTileWidth[] = "default-tile-width"; | 670 const char kDefaultTileWidth[] = "default-tile-width"; |
| 667 const char kDefaultTileHeight[] = "default-tile-height"; | 671 const char kDefaultTileHeight[] = "default-tile-height"; |
| 668 | 672 |
| 669 // Sets the width and height above which a composited layer will get tiled. | 673 // Sets the width and height above which a composited layer will get tiled. |
| 670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 674 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 675 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 672 | 676 |
| 673 const char kFixedPositionCreatesStackingContext[] | 677 const char kFixedPositionCreatesStackingContext[] |
| 674 = "fixed-position-creates-stacking-context"; | 678 = "fixed-position-creates-stacking-context"; |
| 675 } // namespace switches | 679 } // namespace switches |
| OLD | NEW |