Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: content/public/common/content_switches.cc

Issue 9705074: Supporting command line argument to force field trials (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed some ooopss... Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // - Location platform support for Windows 7 359 // - Location platform support for Windows 7
360 const char kExperimentalLocationFeatures[] = "experimental-location-features"; 360 const char kExperimentalLocationFeatures[] = "experimental-location-features";
361 361
362 // Load NPAPI plugins from the specified directory. 362 // Load NPAPI plugins from the specified directory.
363 const char kExtraPluginDir[] = "extra-plugin-dir"; 363 const char kExtraPluginDir[] = "extra-plugin-dir";
364 364
365 // If accelerated compositing is supported, always enter compositing mode for 365 // If accelerated compositing is supported, always enter compositing mode for
366 // the base layer even when compositing is not strictly required. 366 // the base layer even when compositing is not strictly required.
367 const char kForceCompositingMode[] = "force-compositing-mode"; 367 const char kForceCompositingMode[] = "force-compositing-mode";
368 368
369 // Some field tests may rendomized in the browser, and the randomly selected 369 // Some field trials may be randomized in the browser, and the randomly selected
370 // outcome needs to be propagated to the renderer. For instance, this is used 370 // outcome needs to be propagated to the renderer. For instance, this is used
371 // to modify histograms recorded in the renderer, or to get the renderer to 371 // to modify histograms recorded in the renderer, or to get the renderer to
372 // also set of its state (initialize, or not initialize components) to match the 372 // also set of its state (initialize, or not initialize components) to match the
373 // experiment(s). 373 // experiment(s). The option is also useful for forcing field trials when
374 // The argument is a string-ized list of experiment names, and the associated 374 // testing changes locally. The argument is a list of name and value pairs,
375 // value that was randomly selected. In the recent implementetaion, the 375 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in
376 // persistent representation generated by field_trial.cc and later decoded, is a 376 // field_trial.h for details.
377 // list of name and value pairs, separated by slashes. See field trial.cc for 377 const char kForceFieldTrials[] = "force-fieldtrials";
378 // current details.
379 const char kForceFieldTestNameAndValue[] = "force-fieldtest";
380 378
381 // Force renderer accessibility to be on instead of enabling it on demand when 379 // Force renderer accessibility to be on instead of enabling it on demand when
382 // a screen reader is detected. The disable-renderer-accessibility switch 380 // a screen reader is detected. The disable-renderer-accessibility switch
383 // overrides this if present. 381 // overrides this if present.
384 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 382 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
385 383
386 // Extra command line options for launching the GPU process (normally used 384 // Extra command line options for launching the GPU process (normally used
387 // for debugging). Use like renderer-cmd-prefix. 385 // for debugging). Use like renderer-cmd-prefix.
388 const char kGpuLauncher[] = "gpu-launcher"; 386 const char kGpuLauncher[] = "gpu-launcher";
389 387
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; 661 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down";
664 662
665 // Maximum time between mousedown and mouseup to be considered a tap. 663 // Maximum time between mousedown and mouseup to be considered a tap.
666 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; 664 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap";
667 665
668 // Forces usage of the test compositor. Needed to run ui tests on bots. 666 // Forces usage of the test compositor. Needed to run ui tests on bots.
669 extern const char kTestCompositor[] = "test-compositor"; 667 extern const char kTestCompositor[] = "test-compositor";
670 #endif 668 #endif
671 669
672 } // namespace switches 670 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698