| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/chrome_switches.h" | 5 #include "ios/chrome/browser/chrome_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // ----------------------------------------------------------------------------- | 9 // ----------------------------------------------------------------------------- |
| 10 // When commenting your switch, please use the same voice as surrounding | 10 // When commenting your switch, please use the same voice as surrounding |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // view when focused on form fields. | 30 // view when focused on form fields. |
| 31 const char kDisableIOSPasswordSuggestions[] = | 31 const char kDisableIOSPasswordSuggestions[] = |
| 32 "disable-ios-password-suggestions"; | 32 "disable-ios-password-suggestions"; |
| 33 | 33 |
| 34 // Disable the snapshots lru cache. | 34 // Disable the snapshots lru cache. |
| 35 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache"; | 35 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache"; |
| 36 | 36 |
| 37 // Disable auto-reload of error pages if offline. | 37 // Disable auto-reload of error pages if offline. |
| 38 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 38 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| 39 | 39 |
| 40 // Disable the Payment Request API. | |
| 41 const char kDisablePaymentRequest[] = "disable-payment-request"; | |
| 42 | |
| 43 // Disables the tab strip auto scroll new tabs. | 40 // Disables the tab strip auto scroll new tabs. |
| 44 const char kDisableTabStripAutoScrollNewTabs[] = | 41 const char kDisableTabStripAutoScrollNewTabs[] = |
| 45 "disable-tab-strip-autoscroll-new-tabs"; | 42 "disable-tab-strip-autoscroll-new-tabs"; |
| 46 | 43 |
| 47 // Disables Physical Web scanning for nearby URLs. | 44 // Disables Physical Web scanning for nearby URLs. |
| 48 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; | 45 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; |
| 49 | 46 |
| 50 // Disables Request Mobile Site. | 47 // Disables Request Mobile Site. |
| 51 const char kDisableRequestMobileSite[] = "disable-request-mobile-site"; | 48 const char kDisableRequestMobileSite[] = "disable-request-mobile-site"; |
| 52 | 49 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 81 | 78 |
| 82 // Enable password generation for iOS. | 79 // Enable password generation for iOS. |
| 83 const char kEnableIOSPasswordGeneration[] = "enable-ios-password-generation"; | 80 const char kEnableIOSPasswordGeneration[] = "enable-ios-password-generation"; |
| 84 | 81 |
| 85 // Enables the snapshot lru cache. | 82 // Enables the snapshot lru cache. |
| 86 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; | 83 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; |
| 87 | 84 |
| 88 // Enable auto-reload of error pages if offline. | 85 // Enable auto-reload of error pages if offline. |
| 89 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 86 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 90 | 87 |
| 91 // Enable the Payment Request API. | |
| 92 const char kEnablePaymentRequest[] = "enable-payment-request"; | |
| 93 | |
| 94 // Enables context-sensitive reader mode button in the toolbar. | 88 // Enables context-sensitive reader mode button in the toolbar. |
| 95 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 89 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
| 96 | 90 |
| 97 // Enables the Spotlight actions. | 91 // Enables the Spotlight actions. |
| 98 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; | 92 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; |
| 99 | 93 |
| 100 // Enables Physical Web scanning for nearby URLs. | 94 // Enables Physical Web scanning for nearby URLs. |
| 101 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; | 95 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; |
| 102 | 96 |
| 103 // Enables the Suggestions UI | 97 // Enables the Suggestions UI |
| (...skipping 21 matching lines...) Expand all Loading... |
| 125 const char kIOSHostResolverRules[] = "host-resolver-rules"; | 119 const char kIOSHostResolverRules[] = "host-resolver-rules"; |
| 126 | 120 |
| 127 // Ignores certificate-related errors. | 121 // Ignores certificate-related errors. |
| 128 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 122 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 129 | 123 |
| 130 // Allows for forcing socket connections to http/https to use fixed ports. | 124 // Allows for forcing socket connections to http/https to use fixed ports. |
| 131 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 125 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 132 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 126 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 133 | 127 |
| 134 } // namespace switches | 128 } // namespace switches |
| OLD | NEW |