| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // histogram names that will be tested. This command line argument is only | 478 // histogram names that will be tested. This command line argument is only |
| 479 // parsed by the renderer, and consists of a field test name, and a forced | 479 // parsed by the renderer, and consists of a field test name, and a forced |
| 480 // selection of an outcome. For example, if a field test "DnsImpact" has | 480 // selection of an outcome. For example, if a field test "DnsImpact" has |
| 481 // selected "_disabled_prefetch" as a current test, then the render should be | 481 // selected "_disabled_prefetch" as a current test, then the render should be |
| 482 // passed the command line: | 482 // passed the command line: |
| 483 // force-fieldtest=DnsImpact/_disabled_prefetch | 483 // force-fieldtest=DnsImpact/_disabled_prefetch |
| 484 // The renderer will then force said named field test to exist, and will force | 484 // The renderer will then force said named field test to exist, and will force |
| 485 // the selected outcome to have the indicated text value. | 485 // the selected outcome to have the indicated text value. |
| 486 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; | 486 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; |
| 487 | 487 |
| 488 // Enables the prototype of the next version of the New Tab page. | 488 // Allows the new tab page resource to be loaded from a local HTML file. This |
| 489 // This can be empty in which case the default prototype resource is used or it | 489 // should be a path to the HTML file that you want to use for the new tab page. |
| 490 // can be a file path, in which case the file will be used as the new tab page. | 490 const wchar_t kNewTabPage[] = L"new-tab-page"; |
| 491 const wchar_t kNewNewTabPage[] = L"new-new-tab-page"; | 491 |
| 492 // Switches back to the old new tab page. |
| 493 const wchar_t kOldNewTabPage[] = L"old-new-tab-page"; |
| 492 | 494 |
| 493 // Enables the prototype of the backend service for web resources, used in the | 495 // Enables the prototype of the backend service for web resources, used in the |
| 494 // new new tab page for loading tips and recommendations from a JSON feed. | 496 // new new tab page for loading tips and recommendations from a JSON feed. |
| 495 const wchar_t kWebResources[] = L"enable-web-resources"; | 497 const wchar_t kWebResources[] = L"enable-web-resources"; |
| 496 | 498 |
| 497 // Disables the default browser check. Useful for UI/browser tests where we want | 499 // Disables the default browser check. Useful for UI/browser tests where we want |
| 498 // to avoid having the default browser info-bar displayed. | 500 // to avoid having the default browser info-bar displayed. |
| 499 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check"; | 501 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check"; |
| 500 | 502 |
| 501 // Enables the Privacy Blacklist with the specified data file. | 503 // Enables the Privacy Blacklist with the specified data file. |
| 502 // The file contains data from all imported blacklists. | 504 // The file contains data from all imported blacklists. |
| 503 const wchar_t kPrivacyBlacklist[] = L"privacy-blacklist"; | 505 const wchar_t kPrivacyBlacklist[] = L"privacy-blacklist"; |
| 504 | 506 |
| 505 // Enables the benchmarking extensions. | 507 // Enables the benchmarking extensions. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 524 // On Windows, converts the page to the currently-installed monitor profile. | 526 // On Windows, converts the page to the currently-installed monitor profile. |
| 525 // This does NOT enable color management for images. The source is still assumed | 527 // This does NOT enable color management for images. The source is still assumed |
| 526 // to be sRGB. | 528 // to be sRGB. |
| 527 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; | 529 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; |
| 528 | 530 |
| 529 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is | 531 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is |
| 530 // still experimental. | 532 // still experimental. |
| 531 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; | 533 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; |
| 532 | 534 |
| 533 } // namespace switches | 535 } // namespace switches |
| OLD | NEW |