| 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 22 matching lines...) Expand all Loading... |
| 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. | 40 // Disable the Payment Request API. |
| 41 const char kDisablePaymentRequest[] = "disable-payment-request"; | 41 const char kDisablePaymentRequest[] = "disable-payment-request"; |
| 42 | 42 |
| 43 // Disables the QR Code scanner. | |
| 44 const char kDisableQRScanner[] = "disable-qr-scanner"; | |
| 45 | |
| 46 // Disables the Spotlight actions. | 43 // Disables the Spotlight actions. |
| 47 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; | 44 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; |
| 48 | 45 |
| 49 // Disables the tab strip auto scroll new tabs. | 46 // Disables the tab strip auto scroll new tabs. |
| 50 const char kDisableTabStripAutoScrollNewTabs[] = | 47 const char kDisableTabStripAutoScrollNewTabs[] = |
| 51 "disable-tab-strip-autoscroll-new-tabs"; | 48 "disable-tab-strip-autoscroll-new-tabs"; |
| 52 | 49 |
| 53 // Disables the tab switcher. | 50 // Disables the tab switcher. |
| 54 const char kDisableTabSwitcher[] = "disable-tab-switcher"; | 51 const char kDisableTabSwitcher[] = "disable-tab-switcher"; |
| 55 | 52 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 83 | 80 |
| 84 // Enables the snapshot lru cache. | 81 // Enables the snapshot lru cache. |
| 85 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; | 82 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; |
| 86 | 83 |
| 87 // Enable auto-reload of error pages if offline. | 84 // Enable auto-reload of error pages if offline. |
| 88 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 85 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 89 | 86 |
| 90 // Enable the Payment Request API. | 87 // Enable the Payment Request API. |
| 91 const char kEnablePaymentRequest[] = "enable-payment-request"; | 88 const char kEnablePaymentRequest[] = "enable-payment-request"; |
| 92 | 89 |
| 93 // Enables the QR Code scanner. | |
| 94 const char kEnableQRScanner[] = "enable-qr-scanner"; | |
| 95 | |
| 96 // Enables context-sensitive reader mode button in the toolbar. | 90 // Enables context-sensitive reader mode button in the toolbar. |
| 97 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 91 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
| 98 | 92 |
| 99 // Enables the Spotlight actions. | 93 // Enables the Spotlight actions. |
| 100 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; | 94 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; |
| 101 | 95 |
| 102 // Enables the tab switcher. | 96 // Enables the tab switcher. |
| 103 const char kEnableTabSwitcher[] = "enable-tab-switcher"; | 97 const char kEnableTabSwitcher[] = "enable-tab-switcher"; |
| 104 | 98 |
| 105 // Enables Physical Web scanning for nearby URLs. | 99 // Enables Physical Web scanning for nearby URLs. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 133 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 127 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 134 | 128 |
| 135 // Allows for forcing socket connections to http/https to use fixed ports. | 129 // Allows for forcing socket connections to http/https to use fixed ports. |
| 136 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 130 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 137 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 131 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 138 | 132 |
| 139 // Enables grouping websites by domain and filtering them by period. | 133 // Enables grouping websites by domain and filtering them by period. |
| 140 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 134 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 141 | 135 |
| 142 } // namespace switches | 136 } // namespace switches |
| OLD | NEW |