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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // - Location platform support for Windows 7 | 362 // - Location platform support for Windows 7 |
363 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 363 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
364 | 364 |
365 // Load NPAPI plugins from the specified directory. | 365 // Load NPAPI plugins from the specified directory. |
366 const char kExtraPluginDir[] = "extra-plugin-dir"; | 366 const char kExtraPluginDir[] = "extra-plugin-dir"; |
367 | 367 |
368 // If accelerated compositing is supported, always enter compositing mode for | 368 // If accelerated compositing is supported, always enter compositing mode for |
369 // the base layer even when compositing is not strictly required. | 369 // the base layer even when compositing is not strictly required. |
370 const char kForceCompositingMode[] = "force-compositing-mode"; | 370 const char kForceCompositingMode[] = "force-compositing-mode"; |
371 | 371 |
372 // Some field tests may rendomized in the browser, and the randomly selected | 372 // Some field tests may be randomized in the browser, and the randomly selected |
373 // outcome needs to be propagated to the renderer. For instance, this is used | 373 // outcome needs to be propagated to the renderer. For instance, this is used |
374 // to modify histograms recorded in the renderer, or to get the renderer to | 374 // to modify histograms recorded in the renderer, or to get the renderer to |
375 // also set of its state (initialize, or not initialize components) to match the | 375 // also set of its state (initialize, or not initialize components) to match the |
376 // experiment(s). | 376 // experiment(s). The option is also useful for forcing field trials when |
377 // The argument is a string-ized list of experiment names, and the associated | 377 // testing changes locally. The argument is a list of name and value pairs, |
378 // value that was randomly selected. In the recent implementetaion, the | 378 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in |
379 // persistent representation generated by field_trial.cc and later decoded, is a | 379 // field_trial.h for details. |
380 // list of name and value pairs, separated by slashes. See field trial.cc for | |
381 // current details. | |
382 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; | 380 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; |
383 | 381 |
384 // Force renderer accessibility to be on instead of enabling it on demand when | 382 // Force renderer accessibility to be on instead of enabling it on demand when |
385 // a screen reader is detected. The disable-renderer-accessibility switch | 383 // a screen reader is detected. The disable-renderer-accessibility switch |
386 // overrides this if present. | 384 // overrides this if present. |
387 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 385 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
388 | 386 |
389 // Extra command line options for launching the GPU process (normally used | 387 // Extra command line options for launching the GPU process (normally used |
390 // for debugging). Use like renderer-cmd-prefix. | 388 // for debugging). Use like renderer-cmd-prefix. |
391 const char kGpuLauncher[] = "gpu-launcher"; | 389 const char kGpuLauncher[] = "gpu-launcher"; |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 659 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
662 | 660 |
663 // Maximum time between mousedown and mouseup to be considered a tap. | 661 // Maximum time between mousedown and mouseup to be considered a tap. |
664 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 662 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
665 | 663 |
666 // Forces usage of the test compositor. Needed to run ui tests on bots. | 664 // Forces usage of the test compositor. Needed to run ui tests on bots. |
667 extern const char kTestCompositor[] = "test-compositor"; | 665 extern const char kTestCompositor[] = "test-compositor"; |
668 #endif | 666 #endif |
669 | 667 |
670 } // namespace switches | 668 } // namespace switches |
OLD | NEW |