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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 293 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
294 // bugs if something isn't working properly in the presence of IPv6. This flag | 294 // bugs if something isn't working properly in the presence of IPv6. This flag |
295 // can be overidden by the "enable-ipv6" flag. | 295 // can be overidden by the "enable-ipv6" flag. |
296 const char kDisableIPv6[] = "disable-ipv6"; | 296 const char kDisableIPv6[] = "disable-ipv6"; |
297 | 297 |
298 // Disables IP Pooling within the networks stack (SPDY only). When a connection | 298 // Disables IP Pooling within the networks stack (SPDY only). When a connection |
299 // is needed for a domain which shares an IP with an existing connection, | 299 // is needed for a domain which shares an IP with an existing connection, |
300 // attempt to use the existing connection. | 300 // attempt to use the existing connection. |
301 const char kDisableIPPooling[] = "disable-ip-pooling"; | 301 const char kDisableIPPooling[] = "disable-ip-pooling"; |
302 | 302 |
303 // Disables panels (always on-top docked pop-up windows). | |
304 const char kDisablePanels[] = "disable-panels"; | |
305 | |
306 // Disable speculative TCP/IP preconnection. | 303 // Disable speculative TCP/IP preconnection. |
307 const char kDisablePreconnect[] = "disable-preconnect"; | 304 const char kDisablePreconnect[] = "disable-preconnect"; |
308 | 305 |
309 // Normally when the user attempts to navigate to a page that was the result of | 306 // Normally when the user attempts to navigate to a page that was the result of |
310 // a post we prompt to make sure they want to. This switch may be used to | 307 // a post we prompt to make sure they want to. This switch may be used to |
311 // disable that check. This switch is used during automated testing. | 308 // disable that check. This switch is used during automated testing. |
312 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 309 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
313 | 310 |
314 // Disables remote web font support. SVG font should always work whether this | 311 // Disables remote web font support. SVG font should always work whether this |
315 // option is specified or not. | 312 // option is specified or not. |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 // Allows reporting memory info (JS heap size) to page. | 513 // Allows reporting memory info (JS heap size) to page. |
517 const char kEnableMemoryInfo[] = "enable-memory-info"; | 514 const char kEnableMemoryInfo[] = "enable-memory-info"; |
518 | 515 |
519 // Runs the Native Client inside the renderer process and enables GPU plugin | 516 // Runs the Native Client inside the renderer process and enables GPU plugin |
520 // (internally adds lEnableGpuPlugin to the command line). | 517 // (internally adds lEnableGpuPlugin to the command line). |
521 const char kEnableNaCl[] = "enable-nacl"; | 518 const char kEnableNaCl[] = "enable-nacl"; |
522 | 519 |
523 // Enables debugging via RSP over a socket. | 520 // Enables debugging via RSP over a socket. |
524 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 521 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
525 | 522 |
| 523 // Enables panels (always on-top docked pop-up windows). |
| 524 const char kEnablePanels[] = "enable-panels"; |
| 525 |
526 // Enables advanced app capabilities. | 526 // Enables advanced app capabilities. |
527 const char kEnablePlatformApps[] = "enable-platform-apps"; | 527 const char kEnablePlatformApps[] = "enable-platform-apps"; |
528 | 528 |
529 // Enables content settings based on host *and* plug-in in the user | 529 // Enables content settings based on host *and* plug-in in the user |
530 // preferences. | 530 // preferences. |
531 const char kEnableResourceContentSettings[] = | 531 const char kEnableResourceContentSettings[] = |
532 "enable-resource-content-settings"; | 532 "enable-resource-content-settings"; |
533 | 533 |
534 // Enables speculative TCP/IP preconnection. | 534 // Enables speculative TCP/IP preconnection. |
535 const char kEnablePreconnect[] = "enable-preconnect"; | 535 const char kEnablePreconnect[] = "enable-preconnect"; |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 | 1305 |
1306 // ----------------------------------------------------------------------------- | 1306 // ----------------------------------------------------------------------------- |
1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1308 // | 1308 // |
1309 // You were going to just dump your switches here, weren't you? Instead, please | 1309 // You were going to just dump your switches here, weren't you? Instead, please |
1310 // put them in alphabetical order above, or in order inside the appropriate | 1310 // put them in alphabetical order above, or in order inside the appropriate |
1311 // ifdef at the bottom. The order should match the header. | 1311 // ifdef at the bottom. The order should match the header. |
1312 // ----------------------------------------------------------------------------- | 1312 // ----------------------------------------------------------------------------- |
1313 | 1313 |
1314 } // namespace switches | 1314 } // namespace switches |
OLD | NEW |