| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // Disable auto-reload of error pages if offline. | 40 // Disable auto-reload of error pages if offline. |
| 41 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 41 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
| 42 | 42 |
| 43 // Disable the Payment Request API. | 43 // Disable the Payment Request API. |
| 44 const char kDisablePaymentRequest[] = "disable-payment-request"; | 44 const char kDisablePaymentRequest[] = "disable-payment-request"; |
| 45 | 45 |
| 46 // Disables the QR Code scanner. | 46 // Disables the QR Code scanner. |
| 47 const char kDisableQRScanner[] = "disable-qr-scanner"; | 47 const char kDisableQRScanner[] = "disable-qr-scanner"; |
| 48 | 48 |
| 49 // Disables the reading list. | |
| 50 const char kDisableReadingList[] = "disable-reading-list"; | |
| 51 | |
| 52 // Disables the Spotlight actions. | 49 // Disables the Spotlight actions. |
| 53 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; | 50 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; |
| 54 | 51 |
| 55 // Disables the tab switcher. | 52 // Disables the tab switcher. |
| 56 const char kDisableTabSwitcher[] = "disable-tab-switcher"; | 53 const char kDisableTabSwitcher[] = "disable-tab-switcher"; |
| 57 | 54 |
| 58 // Disables Physical Web scanning for nearby URLs. | 55 // Disables Physical Web scanning for nearby URLs. |
| 59 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; | 56 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; |
| 60 | 57 |
| 61 // Enables all bookmarks view in bookmark manager. | 58 // Enables all bookmarks view in bookmark manager. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 91 |
| 95 // Enables the QR Code scanner. | 92 // Enables the QR Code scanner. |
| 96 const char kEnableQRScanner[] = "enable-qr-scanner"; | 93 const char kEnableQRScanner[] = "enable-qr-scanner"; |
| 97 | 94 |
| 98 // Enables context-sensitive reader mode button in the toolbar. | 95 // Enables context-sensitive reader mode button in the toolbar. |
| 99 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 96 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
| 100 | 97 |
| 101 // Enables the Spotlight actions. | 98 // Enables the Spotlight actions. |
| 102 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; | 99 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; |
| 103 | 100 |
| 104 // Enables the reading list. | |
| 105 const char kEnableReadingList[] = "enable-reading-list"; | |
| 106 | |
| 107 // Enables the tab switcher. | 101 // Enables the tab switcher. |
| 108 const char kEnableTabSwitcher[] = "enable-tab-switcher"; | 102 const char kEnableTabSwitcher[] = "enable-tab-switcher"; |
| 109 | 103 |
| 110 // Enables Physical Web scanning for nearby URLs. | 104 // Enables Physical Web scanning for nearby URLs. |
| 111 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; | 105 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; |
| 112 | 106 |
| 113 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 107 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| 114 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 108 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
| 115 // prefixed with the character "t" will be treated as Trigger Variation Ids. | 109 // prefixed with the character "t" will be treated as Trigger Variation Ids. |
| 116 const char kIOSForceVariationIds[] = "force-variation-ids"; | 110 const char kIOSForceVariationIds[] = "force-variation-ids"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 132 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 126 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 133 | 127 |
| 134 // Allows for forcing socket connections to http/https to use fixed ports. | 128 // Allows for forcing socket connections to http/https to use fixed ports. |
| 135 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 129 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 136 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 130 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 137 | 131 |
| 138 // Enables grouping websites by domain and filtering them by period. | 132 // Enables grouping websites by domain and filtering them by period. |
| 139 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 133 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 140 | 134 |
| 141 } // namespace switches | 135 } // namespace switches |
| OLD | NEW |