| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // - Location platform support for Windows 7 | 354 // - Location platform support for Windows 7 |
| 355 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 355 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
| 356 | 356 |
| 357 // Load NPAPI plugins from the specified directory. | 357 // Load NPAPI plugins from the specified directory. |
| 358 const char kExtraPluginDir[] = "extra-plugin-dir"; | 358 const char kExtraPluginDir[] = "extra-plugin-dir"; |
| 359 | 359 |
| 360 // If accelerated compositing is supported, always enter compositing mode for | 360 // If accelerated compositing is supported, always enter compositing mode for |
| 361 // the base layer even when compositing is not strictly required. | 361 // the base layer even when compositing is not strictly required. |
| 362 const char kForceCompositingMode[] = "force-compositing-mode"; | 362 const char kForceCompositingMode[] = "force-compositing-mode"; |
| 363 | 363 |
| 364 // Some field tests may rendomized in the browser, and the randomly selected | 364 // Some field tests may be randomized in the browser, and the randomly selected |
| 365 // outcome needs to be propagated to the renderer. For instance, this is used | 365 // outcome needs to be propagated to the renderer. For instance, this is used |
| 366 // to modify histograms recorded in the renderer, or to get the renderer to | 366 // to modify histograms recorded in the renderer, or to get the renderer to |
| 367 // also set of its state (initialize, or not initialize components) to match the | 367 // also set of its state (initialize, or not initialize components) to match the |
| 368 // experiment(s). | 368 // experiment(s). The option is also useful for forcing field trials when |
| 369 // The argument is a string-ized list of experiment names, and the associated | 369 // testing changes locally. The argument is a list of name and value pairs, |
| 370 // value that was randomly selected. In the recent implementetaion, the | 370 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in |
| 371 // persistent representation generated by field_trial.cc and later decoded, is a | 371 // field_trial.h for details. |
| 372 // list of name and value pairs, separated by slashes. See field trial.cc for | |
| 373 // current details. | |
| 374 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; | 372 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; |
| 375 | 373 |
| 376 // Force renderer accessibility to be on instead of enabling it on demand when | 374 // Force renderer accessibility to be on instead of enabling it on demand when |
| 377 // a screen reader is detected. The disable-renderer-accessibility switch | 375 // a screen reader is detected. The disable-renderer-accessibility switch |
| 378 // overrides this if present. | 376 // overrides this if present. |
| 379 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 377 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
| 380 | 378 |
| 381 // Extra command line options for launching the GPU process (normally used | 379 // Extra command line options for launching the GPU process (normally used |
| 382 // for debugging). Use like renderer-cmd-prefix. | 380 // for debugging). Use like renderer-cmd-prefix. |
| 383 const char kGpuLauncher[] = "gpu-launcher"; | 381 const char kGpuLauncher[] = "gpu-launcher"; |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 | 645 |
| 648 // Disables the use of a 3D software rasterizer. | 646 // Disables the use of a 3D software rasterizer. |
| 649 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 647 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 650 | 648 |
| 651 #if defined(USE_AURA) | 649 #if defined(USE_AURA) |
| 652 // Forces usage of the test compositor. Needed to run ui tests on bots. | 650 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 653 extern const char kTestCompositor[] = "test-compositor"; | 651 extern const char kTestCompositor[] = "test-compositor"; |
| 654 #endif | 652 #endif |
| 655 | 653 |
| 656 } // namespace switches | 654 } // namespace switches |
| OLD | NEW |