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

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, 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
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. Where the key
534 // is defined by the format TrialName.GroupName.ParamName. The following
535 // forces "id" to be "foo" for the "Enabled" group of the "EnhancedBookmarks"
536 // trial: "EnhancedBookmarks.Enabled.id/foo/"
537 // variations::AssociateParamsFromString() in variations_associated_data.h for
538 // details.
539 const char kForceFieldTrialParams[] = "force-fieldtrial-params";
540
532 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU 541 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU
533 // accelerated compositing + impl-side painting. Overrides the 542 // accelerated compositing + impl-side painting. Overrides the
534 // kEnableGpuRasterization flag. 543 // kEnableGpuRasterization flag.
535 const char kForceGpuRasterization[] = "force-gpu-rasterization"; 544 const char kForceGpuRasterization[] = "force-gpu-rasterization";
536 545
537 // The number of multisample antialiasing samples for GPU rasterization. 546 // The number of multisample antialiasing samples for GPU rasterization.
538 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. 547 // Requires MSAA support on GPU to have an effect. 0 disables MSAA.
539 const char kGpuRasterizationMSAASampleCount[] = 548 const char kGpuRasterizationMSAASampleCount[] =
540 "gpu-rasterization-msaa-sample-count"; 549 "gpu-rasterization-msaa-sample-count";
541 550
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 // Windows Vista and later. 1005 // Windows Vista and later.
997 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1006 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
998 #endif 1007 #endif
999 1008
1000 // Enables the use of NPAPI plugins. 1009 // Enables the use of NPAPI plugins.
1001 const char kEnableNpapi[] = "enable-npapi"; 1010 const char kEnableNpapi[] = "enable-npapi";
1002 1011
1003 // Don't dump stuff here, follow the same order as the header. 1012 // Don't dump stuff here, follow the same order as the header.
1004 1013
1005 } // namespace switches 1014 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698