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

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

Issue 1090813005: Add a mechanism to force parameters of a group to a specific value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // This option can be used to force field trials when testing changes locally. 522 // This option can be used to force field trials when testing changes locally.
523 // The argument is a list of name and value pairs, separated by slashes. If a 523 // The argument is a list of name and value pairs, separated by slashes. If a
524 // trial name is prefixed with an asterisk, that trial will start activated. 524 // trial name is prefixed with an asterisk, that trial will start activated.
525 // For example, the following argument defines two trials, with the second one 525 // For example, the following argument defines two trials, with the second one
526 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" 526 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/"
527 // This option is also used by the browser to send the list of trials to 527 // This option is also used by the browser to send the list of trials to
528 // renderers, using the same format. See 528 // renderers, using the same format. See
529 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. 529 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details.
530 const char kForceFieldTrials[] = "force-fieldtrials"; 530 const char kForceFieldTrials[] = "force-fieldtrials";
531 531
532 // This option can be used to force parameters of field trials when testing
533 // changes locally. The argument is a list of key/value pairs prefixed by
534 // Trial/Group pair. The following shows setting parameters to 2 experiments
535 // where in the first, it forces "id" to be "foo" for the "Enabled" group of
536 // the "EnhancedBookmarks" trial:
537 // "EnhancedBookmarks.Enabled:id/foo,Experiment2.Group1:key1/value1"
538 // See variations::AssociateParamsFromString() in variations_associated_data.h
539 // for details.
540 const char kForceFieldTrialParams[] = "force-fieldtrial-params";
541
532 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU 542 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU
533 // accelerated compositing + impl-side painting. Overrides the 543 // accelerated compositing + impl-side painting. Overrides the
534 // kEnableGpuRasterization flag. 544 // kEnableGpuRasterization flag.
535 const char kForceGpuRasterization[] = "force-gpu-rasterization"; 545 const char kForceGpuRasterization[] = "force-gpu-rasterization";
536 546
537 // The number of multisample antialiasing samples for GPU rasterization. 547 // The number of multisample antialiasing samples for GPU rasterization.
538 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. 548 // Requires MSAA support on GPU to have an effect. 0 disables MSAA.
539 const char kGpuRasterizationMSAASampleCount[] = 549 const char kGpuRasterizationMSAASampleCount[] =
540 "gpu-rasterization-msaa-sample-count"; 550 "gpu-rasterization-msaa-sample-count";
541 551
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 // Windows Vista and later. 1006 // Windows Vista and later.
997 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1007 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
998 #endif 1008 #endif
999 1009
1000 // Enables the use of NPAPI plugins. 1010 // Enables the use of NPAPI plugins.
1001 const char kEnableNpapi[] = "enable-npapi"; 1011 const char kEnableNpapi[] = "enable-npapi";
1002 1012
1003 // Don't dump stuff here, follow the same order as the header. 1013 // Don't dump stuff here, follow the same order as the header.
1004 1014
1005 } // namespace switches 1015 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698