OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 318 matching lines...) Loading... |
329 // is needed for a domain which shares an IP with an existing connection, | 329 // is needed for a domain which shares an IP with an existing connection, |
330 // attempt to use the existing connection. | 330 // attempt to use the existing connection. |
331 const char kDisableIPPooling[] = "disable-ip-pooling"; | 331 const char kDisableIPPooling[] = "disable-ip-pooling"; |
332 | 332 |
333 // Avoid doing expensive animations upon login. | 333 // Avoid doing expensive animations upon login. |
334 const char kDisableLoginAnimations[] = "disable-login-animations"; | 334 const char kDisableLoginAnimations[] = "disable-login-animations"; |
335 | 335 |
336 // Disables the menu on the NTP for accessing sessions from other devices. | 336 // Disables the menu on the NTP for accessing sessions from other devices. |
337 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 337 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
338 | 338 |
339 // Disables the inline off-store extension installation UI. With this switch, | |
340 // users must use a new out-of-band installation UI from chrome://extensions/. | |
341 const char kDisableOffStoreExtensionInstall[] = | |
342 "disable-off-store-extension-install"; | |
343 | |
344 // Disable speculative TCP/IP preconnection. | 339 // Disable speculative TCP/IP preconnection. |
345 const char kDisablePreconnect[] = "disable-preconnect"; | 340 const char kDisablePreconnect[] = "disable-preconnect"; |
346 | 341 |
347 // Normally when the user attempts to navigate to a page that was the result of | 342 // Normally when the user attempts to navigate to a page that was the result of |
348 // a post we prompt to make sure they want to. This switch may be used to | 343 // a post we prompt to make sure they want to. This switch may be used to |
349 // disable that check. This switch is used during automated testing. | 344 // disable that check. This switch is used during automated testing. |
350 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 345 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
351 | 346 |
352 // Prevents the URLs of BackgroundContents from being remembered and | 347 // Prevents the URLs of BackgroundContents from being remembered and |
353 // re-launched when the browser restarts. | 348 // re-launched when the browser restarts. |
(...skipping 204 matching lines...) Loading... |
558 // Enables hardware exception handling via debugger process. | 553 // Enables hardware exception handling via debugger process. |
559 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; | 554 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; |
560 | 555 |
561 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. | 556 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. |
562 const char kEnableNpn[] = "enable-npn"; | 557 const char kEnableNpn[] = "enable-npn"; |
563 | 558 |
564 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 559 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
565 // HTTP is still used for all requests. | 560 // HTTP is still used for all requests. |
566 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 561 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
567 | 562 |
| 563 // Enables extensions to be easily installed from sites other than the web |
| 564 // store. Without this flag, they can still be installed, but must be manually |
| 565 // dragged onto chrome://extensions/. |
| 566 const char kEnableOffStoreExtensionInstall[] = |
| 567 "enable-off-store-extension-install"; |
| 568 |
568 // Enables panels (always on-top docked pop-up windows). | 569 // Enables panels (always on-top docked pop-up windows). |
569 const char kEnablePanels[] = "enable-panels"; | 570 const char kEnablePanels[] = "enable-panels"; |
570 | 571 |
571 // Enables password generation when we detect that the user is going through | 572 // Enables password generation when we detect that the user is going through |
572 // account creation. | 573 // account creation. |
573 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 574 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
574 | 575 |
575 // Enables advanced app capabilities. | 576 // Enables advanced app capabilities. |
576 const char kEnablePlatformApps[] = "enable-platform-apps"; | 577 const char kEnablePlatformApps[] = "enable-platform-apps"; |
577 | 578 |
(...skipping 868 matching lines...) Loading... |
1446 | 1447 |
1447 // ----------------------------------------------------------------------------- | 1448 // ----------------------------------------------------------------------------- |
1448 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1449 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1449 // | 1450 // |
1450 // You were going to just dump your switches here, weren't you? Instead, please | 1451 // You were going to just dump your switches here, weren't you? Instead, please |
1451 // put them in alphabetical order above, or in order inside the appropriate | 1452 // put them in alphabetical order above, or in order inside the appropriate |
1452 // ifdef at the bottom. The order should match the header. | 1453 // ifdef at the bottom. The order should match the header. |
1453 // ----------------------------------------------------------------------------- | 1454 // ----------------------------------------------------------------------------- |
1454 | 1455 |
1455 } // namespace switches | 1456 } // namespace switches |
OLD | NEW |