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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 278 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
279 // bugs if something isn't working properly in the presence of IPv6. This flag | 279 // bugs if something isn't working properly in the presence of IPv6. This flag |
280 // can be overidden by the "enable-ipv6" flag. | 280 // can be overidden by the "enable-ipv6" flag. |
281 const char kDisableIPv6[] = "disable-ipv6"; | 281 const char kDisableIPv6[] = "disable-ipv6"; |
282 | 282 |
283 // Disables IP Pooling within the networks stack (SPDY only). When a connection | 283 // Disables IP Pooling within the networks stack (SPDY only). When a connection |
284 // is needed for a domain which shares an IP with an existing connection, | 284 // is needed for a domain which shares an IP with an existing connection, |
285 // attempt to use the existing connection. | 285 // attempt to use the existing connection. |
286 const char kDisableIPPooling[] = "disable-ip-pooling"; | 286 const char kDisableIPPooling[] = "disable-ip-pooling"; |
287 | 287 |
| 288 // Disables panels (always on-top docked pop-up windows). |
| 289 const char kDisablePanels[] = "disable-panels"; |
| 290 |
288 // Disable speculative TCP/IP preconnection. | 291 // Disable speculative TCP/IP preconnection. |
289 const char kDisablePreconnect[] = "disable-preconnect"; | 292 const char kDisablePreconnect[] = "disable-preconnect"; |
290 | 293 |
291 // Normally when the user attempts to navigate to a page that was the result of | 294 // Normally when the user attempts to navigate to a page that was the result of |
292 // a post we prompt to make sure they want to. This switch may be used to | 295 // a post we prompt to make sure they want to. This switch may be used to |
293 // disable that check. This switch is used during automated testing. | 296 // disable that check. This switch is used during automated testing. |
294 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 297 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
295 | 298 |
296 // Disables remote web font support. SVG font should always work whether this | 299 // Disables remote web font support. SVG font should always work whether this |
297 // option is specified or not. | 300 // option is specified or not. |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 // Runs the Native Client inside the renderer process and enables GPU plugin | 504 // Runs the Native Client inside the renderer process and enables GPU plugin |
502 // (internally adds lEnableGpuPlugin to the command line). | 505 // (internally adds lEnableGpuPlugin to the command line). |
503 const char kEnableNaCl[] = "enable-nacl"; | 506 const char kEnableNaCl[] = "enable-nacl"; |
504 | 507 |
505 // Enables debugging via RSP over a socket. | 508 // Enables debugging via RSP over a socket. |
506 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 509 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
507 | 510 |
508 // Enabled integrated bookmark features in the New Tab pane. | 511 // Enabled integrated bookmark features in the New Tab pane. |
509 const char kEnableNTPBookmarkFeatures[] = "enable-ntp-bookmark-features"; | 512 const char kEnableNTPBookmarkFeatures[] = "enable-ntp-bookmark-features"; |
510 | 513 |
| 514 // Enables advanced app capabilities. |
| 515 const char kEnablePlatformApps[] = "enable-platform-apps"; |
| 516 |
511 // Enables content settings based on host *and* plug-in in the user | 517 // Enables content settings based on host *and* plug-in in the user |
512 // preferences. | 518 // preferences. |
513 const char kEnableResourceContentSettings[] = | 519 const char kEnableResourceContentSettings[] = |
514 "enable-resource-content-settings"; | 520 "enable-resource-content-settings"; |
515 | 521 |
516 // Disables panels (always on-top docked pop-up windows). | |
517 const char kDisablePanels[] = "disable-panels"; | |
518 | |
519 // Enables speculative TCP/IP preconnection. | 522 // Enables speculative TCP/IP preconnection. |
520 const char kEnablePreconnect[] = "enable-preconnect"; | 523 const char kEnablePreconnect[] = "enable-preconnect"; |
521 | 524 |
522 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an | 525 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an |
523 // extra parameter to indicate if the provider should be the default. | 526 // extra parameter to indicate if the provider should be the default. |
524 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; | 527 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; |
525 | 528 |
526 // Enables the use of the ShortcutsProvider for autocomplete results. | 529 // Enables the use of the ShortcutsProvider for autocomplete results. |
527 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; | 530 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; |
528 | 531 |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 | 1287 |
1285 // ----------------------------------------------------------------------------- | 1288 // ----------------------------------------------------------------------------- |
1286 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1289 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1287 // | 1290 // |
1288 // You were going to just dump your switches here, weren't you? Instead, please | 1291 // You were going to just dump your switches here, weren't you? Instead, please |
1289 // put them in alphabetical order above, or in order inside the appropriate | 1292 // put them in alphabetical order above, or in order inside the appropriate |
1290 // ifdef at the bottom. The order should match the header. | 1293 // ifdef at the bottom. The order should match the header. |
1291 // ----------------------------------------------------------------------------- | 1294 // ----------------------------------------------------------------------------- |
1292 | 1295 |
1293 } // namespace switches | 1296 } // namespace switches |
OLD | NEW |