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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 273 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
274 // bugs if something isn't working properly in the presence of IPv6. This flag | 274 // bugs if something isn't working properly in the presence of IPv6. This flag |
275 // can be overidden by the "enable-ipv6" flag. | 275 // can be overidden by the "enable-ipv6" flag. |
276 const char kDisableIPv6[] = "disable-ipv6"; | 276 const char kDisableIPv6[] = "disable-ipv6"; |
277 | 277 |
278 // Disable the behavior that the second click on a launcher item (the click when | 278 // Disable the behavior that the second click on a launcher item (the click when |
279 // the item is already active) minimizes the item. | 279 // the item is already active) minimizes the item. |
280 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 280 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
281 "disable-minimize-on-second-launcher-item-click"; | 281 "disable-minimize-on-second-launcher-item-click"; |
282 | 282 |
| 283 // Disables the new bookmark app system. |
| 284 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
| 285 |
283 // Disables the menu on the NTP for accessing sessions from other devices. | 286 // Disables the menu on the NTP for accessing sessions from other devices. |
284 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 287 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
285 | 288 |
286 // Disable auto-reload of error pages if offline. | 289 // Disable auto-reload of error pages if offline. |
287 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 290 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
288 | 291 |
289 // Disable only auto-reloading error pages when the tab is visible. | 292 // Disable only auto-reloading error pages when the tab is visible. |
290 const char kDisableOfflineAutoReloadVisibleOnly[] = | 293 const char kDisableOfflineAutoReloadVisibleOnly[] = |
291 "disable-offline-auto-reload-visible-only"; | 294 "disable-offline-auto-reload-visible-only"; |
292 | 295 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 | 597 |
595 // Enables a feature that holds back some SSLConnectJobs in order to | 598 // Enables a feature that holds back some SSLConnectJobs in order to |
596 // minimize the number of full SSL handshakes completed. | 599 // minimize the number of full SSL handshakes completed. |
597 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting"; | 600 const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting"; |
598 | 601 |
599 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 602 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
600 // which permits servers to allow the use of stale resources while revalidation | 603 // which permits servers to allow the use of stale resources while revalidation |
601 // proceeds in the background. | 604 // proceeds in the background. |
602 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; | 605 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; |
603 | 606 |
604 // Enables an experimental hosted app experience. | |
605 const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps"; | |
606 | |
607 // Enables the suggestions service. | 607 // Enables the suggestions service. |
608 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | 608 const char kEnableSuggestionsService[] = "enable-suggestions-service"; |
609 | 609 |
610 // Enables the supervised user host blacklist. | 610 // Enables the supervised user host blacklist. |
611 const char kEnableSupervisedUserBlacklist[] = | 611 const char kEnableSupervisedUserBlacklist[] = |
612 "enable-supervised-user-blacklist"; | 612 "enable-supervised-user-blacklist"; |
613 | 613 |
614 // Enables SafeSites filtering for supervised users. | 614 // Enables SafeSites filtering for supervised users. |
615 const char kEnableSupervisedUserSafeSites[] = | 615 const char kEnableSupervisedUserSafeSites[] = |
616 "enable-supervised-user-safesites"; | 616 "enable-supervised-user-safesites"; |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 | 1402 |
1403 // ----------------------------------------------------------------------------- | 1403 // ----------------------------------------------------------------------------- |
1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1405 // | 1405 // |
1406 // You were going to just dump your switches here, weren't you? Instead, please | 1406 // You were going to just dump your switches here, weren't you? Instead, please |
1407 // put them in alphabetical order above, or in order inside the appropriate | 1407 // put them in alphabetical order above, or in order inside the appropriate |
1408 // ifdef at the bottom. The order should match the header. | 1408 // ifdef at the bottom. The order should match the header. |
1409 // ----------------------------------------------------------------------------- | 1409 // ----------------------------------------------------------------------------- |
1410 | 1410 |
1411 } // namespace switches | 1411 } // namespace switches |
OLD | NEW |