Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 480 // histogram names that will be tested. This command line argument is only | 480 // histogram names that will be tested. This command line argument is only |
| 481 // parsed by the renderer, and consists of a field test name, and a forced | 481 // parsed by the renderer, and consists of a field test name, and a forced |
| 482 // selection of an outcome. For example, if a field test "DnsImpact" has | 482 // selection of an outcome. For example, if a field test "DnsImpact" has |
| 483 // selected "_disabled_prefetch" as a current test, then the render should be | 483 // selected "_disabled_prefetch" as a current test, then the render should be |
| 484 // passed the command line: | 484 // passed the command line: |
| 485 // force-fieldtest=DnsImpact/_disabled_prefetch | 485 // force-fieldtest=DnsImpact/_disabled_prefetch |
| 486 // The renderer will then force said named field test to exist, and will force | 486 // The renderer will then force said named field test to exist, and will force |
| 487 // the selected outcome to have the indicated text value. | 487 // the selected outcome to have the indicated text value. |
| 488 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; | 488 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; |
| 489 | 489 |
| 490 // Enables the prototype of the next version of the New Tab page. | 490 // Allow a custom file to be used as the New Tab page. This needs to be a file |
| 491 // This can be empty in which case the default prototype resource is used or it | 491 // path, in which case the file will be used as the new tab page. |
| 492 // can be a file path, in which case the file will be used as the new tab page. | 492 const wchar_t kNewTabPage[] = L"new-tab-page"; |
|
Glen Murphy
2009/06/26 22:51:32
Indent doesn't match with the other '=' characters
| |
| 493 const wchar_t kNewNewTabPage[] = L"new-new-tab-page"; | |
| 494 | 493 |
| 495 // Enables the prototype of the backend service for web resources, used in the | 494 // Enables the prototype of the backend service for web resources, used in the |
| 496 // new new tab page for loading tips and recommendations from a JSON feed. | 495 // new new tab page for loading tips and recommendations from a JSON feed. |
| 497 const wchar_t kWebResources[] = L"enable-web-resources"; | 496 const wchar_t kWebResources[] = L"enable-web-resources"; |
| 498 | 497 |
| 499 // Disables the default browser check. Useful for UI/browser tests where we want | 498 // Disables the default browser check. Useful for UI/browser tests where we want |
| 500 // to avoid having the default browser info-bar displayed. | 499 // to avoid having the default browser info-bar displayed. |
| 501 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check"; | 500 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check"; |
| 502 | 501 |
| 503 // Enables the Privacy Blacklist with the specified data file. | 502 // Enables the Privacy Blacklist with the specified data file. |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 526 // On Windows, converts the page to the currently-installed monitor profile. | 525 // On Windows, converts the page to the currently-installed monitor profile. |
| 527 // This does NOT enable color management for images. The source is still assumed | 526 // This does NOT enable color management for images. The source is still assumed |
| 528 // to be sRGB. | 527 // to be sRGB. |
| 529 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; | 528 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; |
| 530 | 529 |
| 531 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is | 530 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is |
| 532 // still experimental. | 531 // still experimental. |
| 533 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; | 532 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; |
| 534 | 533 |
| 535 } // namespace switches | 534 } // namespace switches |
| OLD | NEW |