| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // Enable the fastback page cache. | 439 // Enable the fastback page cache. |
| 440 const char kEnableFastback[] = "enable-fastback"; | 440 const char kEnableFastback[] = "enable-fastback"; |
| 441 | 441 |
| 442 // By default, cookies are not allowed on file://. They are needed for | 442 // By default, cookies are not allowed on file://. They are needed for |
| 443 // testing, for example page cycler and layout tests. See bug 1157243. | 443 // testing, for example page cycler and layout tests. See bug 1157243. |
| 444 const char kEnableFileCookies[] = "enable-file-cookies"; | 444 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 445 | 445 |
| 446 // Enable the JavaScript Full Screen API. | 446 // Enable the JavaScript Full Screen API. |
| 447 const char kEnableFullScreen[] = "enable-fullscreen"; | 447 const char kEnableFullScreen[] = "enable-fullscreen"; |
| 448 | 448 |
| 449 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
| 450 // try to figure out if pipelining can be used for a given host and request. |
| 451 // Without this flag, pipelining will never be used. |
| 452 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
| 453 |
| 449 // Enable the in-browser thumbnailing, which is more efficient than the | 454 // Enable the in-browser thumbnailing, which is more efficient than the |
| 450 // in-renderer thumbnailing, as we can use more information to determine | 455 // in-renderer thumbnailing, as we can use more information to determine |
| 451 // if we need to update thumbnails. | 456 // if we need to update thumbnails. |
| 452 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; | 457 const char kEnableInBrowserThumbnailing[] = "enable-in-browser-thumbnailing"; |
| 453 | 458 |
| 454 // Enables web developers to initiate inline installation of Chrome Web Store | 459 // Enables web developers to initiate inline installation of Chrome Web Store |
| 455 // items. | 460 // items. |
| 456 const char kEnableInlineWebstoreInstall[] = "enable-inline-webstore-install"; | 461 const char kEnableInlineWebstoreInstall[] = "enable-inline-webstore-install"; |
| 457 | 462 |
| 458 // Enable IPv6 support, even if probes suggest that it may not be fully | 463 // Enable IPv6 support, even if probes suggest that it may not be fully |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 | 1242 |
| 1238 // ----------------------------------------------------------------------------- | 1243 // ----------------------------------------------------------------------------- |
| 1239 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1244 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1240 // | 1245 // |
| 1241 // You were going to just dump your switches here, weren't you? Instead, | 1246 // You were going to just dump your switches here, weren't you? Instead, |
| 1242 // please put them in alphabetical order above, or in order inside the | 1247 // please put them in alphabetical order above, or in order inside the |
| 1243 // appropriate ifdef at the bottom. The order should match the header. | 1248 // appropriate ifdef at the bottom. The order should match the header. |
| 1244 // ----------------------------------------------------------------------------- | 1249 // ----------------------------------------------------------------------------- |
| 1245 | 1250 |
| 1246 } // namespace switches | 1251 } // namespace switches |
| OLD | NEW |