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 // 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 // Enable rasterizer that writes directly to GPU memory associated with tiles. | 488 // Enable rasterizer that writes directly to GPU memory associated with tiles. |
489 const char kEnableZeroCopy[] = "enable-zero-copy"; | 489 const char kEnableZeroCopy[] = "enable-zero-copy"; |
490 | 490 |
491 // Explicitly allows additional ports using a comma-separated list of port | 491 // Explicitly allows additional ports using a comma-separated list of port |
492 // numbers. | 492 // numbers. |
493 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 493 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
494 | 494 |
495 // Load NPAPI plugins from the specified directory. | 495 // Load NPAPI plugins from the specified directory. |
496 const char kExtraPluginDir[] = "extra-plugin-dir"; | 496 const char kExtraPluginDir[] = "extra-plugin-dir"; |
497 | 497 |
| 498 // Resource fetching mode (for lab testing) |
| 499 const char kFetchMode[] = "fetch-mode"; |
| 500 |
498 // This option can be used to force field trials when testing changes locally. | 501 // This option can be used to force field trials when testing changes locally. |
499 // The argument is a list of name and value pairs, separated by slashes. If a | 502 // The argument is a list of name and value pairs, separated by slashes. If a |
500 // trial name is prefixed with an asterisk, that trial will start activated. | 503 // trial name is prefixed with an asterisk, that trial will start activated. |
501 // For example, the following argument defines two trials, with the second one | 504 // For example, the following argument defines two trials, with the second one |
502 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" | 505 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" |
503 // This option is also used by the browser to send the list of trials to | 506 // This option is also used by the browser to send the list of trials to |
504 // renderers, using the same format. See | 507 // renderers, using the same format. See |
505 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. | 508 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. |
506 const char kForceFieldTrials[] = "force-fieldtrials"; | 509 const char kForceFieldTrials[] = "force-fieldtrials"; |
507 | 510 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 // Windows Vista and later. | 1010 // Windows Vista and later. |
1008 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1011 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1009 #endif | 1012 #endif |
1010 | 1013 |
1011 // Enables the use of NPAPI plugins. | 1014 // Enables the use of NPAPI plugins. |
1012 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1015 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
1013 | 1016 |
1014 // Don't dump stuff here, follow the same order as the header. | 1017 // Don't dump stuff here, follow the same order as the header. |
1015 | 1018 |
1016 } // namespace switches | 1019 } // namespace switches |
OLD | NEW |