| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 // to modify histograms recorded in the renderer, or to get the renderer to | 590 // to modify histograms recorded in the renderer, or to get the renderer to |
| 591 // also set of its state (initialize, or not initialize components) to match the | 591 // also set of its state (initialize, or not initialize components) to match the |
| 592 // experiment(s). | 592 // experiment(s). |
| 593 // The argument is a string-ized list of experiment names, and the associated | 593 // The argument is a string-ized list of experiment names, and the associated |
| 594 // value that was randomly selected. In the recent implementetaion, the | 594 // value that was randomly selected. In the recent implementetaion, the |
| 595 // persistent representation generated by field_trial.cc and later decoded, is a | 595 // persistent representation generated by field_trial.cc and later decoded, is a |
| 596 // list of name and value pairs, separated by slashes. See field trial.cc for | 596 // list of name and value pairs, separated by slashes. See field trial.cc for |
| 597 // current details. | 597 // current details. |
| 598 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; | 598 const char kForceFieldTestNameAndValue[] = "force-fieldtest"; |
| 599 | 599 |
| 600 // Forces the internal PDF plugin to be used for this run, even if it's disabled |
| 601 // by default. Used for testing. |
| 602 const char kForceInternalPDFPlugin[] = "force-internal-pdf"; |
| 603 |
| 600 // Force renderer accessibility to be on instead of enabling it on demand when | 604 // Force renderer accessibility to be on instead of enabling it on demand when |
| 601 // a screen reader is detected. The disable-renderer-accessibility switch | 605 // a screen reader is detected. The disable-renderer-accessibility switch |
| 602 // overrides this if present. | 606 // overrides this if present. |
| 603 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 607 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
| 604 | 608 |
| 605 // Extra command line options for launching the GPU process (normally used | 609 // Extra command line options for launching the GPU process (normally used |
| 606 // for debugging). Use like renderer-cmd-prefix. | 610 // for debugging). Use like renderer-cmd-prefix. |
| 607 const char kGpuLauncher[] = "gpu-launcher"; | 611 const char kGpuLauncher[] = "gpu-launcher"; |
| 608 | 612 |
| 609 // Makes this process a GPU sub-process. | 613 // Makes this process a GPU sub-process. |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 | 1264 |
| 1261 // ----------------------------------------------------------------------------- | 1265 // ----------------------------------------------------------------------------- |
| 1262 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1266 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1263 // | 1267 // |
| 1264 // You were going to just dump your switches here, weren't you? Instead, | 1268 // You were going to just dump your switches here, weren't you? Instead, |
| 1265 // please put them in alphabetical order above, or in order inside the | 1269 // please put them in alphabetical order above, or in order inside the |
| 1266 // appropriate ifdef at the bottom. The order should match the header. | 1270 // appropriate ifdef at the bottom. The order should match the header. |
| 1267 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
| 1268 | 1272 |
| 1269 } // namespace switches | 1273 } // namespace switches |
| OLD | NEW |