| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Spotlight actions. | 49 // Disables the Spotlight actions. |
| 50 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; | 50 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; |
| 51 | 51 |
| 52 // Disables the tab strip auto scroll new tabs. |
| 53 const char kDisableTabStripAutoScrollNewTabs[] = |
| 54 "disable-tab-strip-autoscroll-new-tabs"; |
| 55 |
| 52 // Disables the tab switcher. | 56 // Disables the tab switcher. |
| 53 const char kDisableTabSwitcher[] = "disable-tab-switcher"; | 57 const char kDisableTabSwitcher[] = "disable-tab-switcher"; |
| 54 | 58 |
| 55 // Disables Physical Web scanning for nearby URLs. | 59 // Disables Physical Web scanning for nearby URLs. |
| 56 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; | 60 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; |
| 57 | 61 |
| 58 // Enables the string change from "Save Image" to "Download Image". | 62 // Enables the string change from "Save Image" to "Download Image". |
| 59 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; | 63 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; |
| 60 | 64 |
| 61 // Enables all bookmarks view in bookmark manager. | 65 // Enables all bookmarks view in bookmark manager. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 98 |
| 95 // Enables the QR Code scanner. | 99 // Enables the QR Code scanner. |
| 96 const char kEnableQRScanner[] = "enable-qr-scanner"; | 100 const char kEnableQRScanner[] = "enable-qr-scanner"; |
| 97 | 101 |
| 98 // Enables context-sensitive reader mode button in the toolbar. | 102 // Enables context-sensitive reader mode button in the toolbar. |
| 99 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 103 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
| 100 | 104 |
| 101 // Enables the Spotlight actions. | 105 // Enables the Spotlight actions. |
| 102 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; | 106 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; |
| 103 | 107 |
| 108 // Enables the tab strip auto scroll new tabs. |
| 109 const char kEnableTabStripAutoScrollNewTabs[] = |
| 110 "enable-tab-strip-autoscroll-new-tabs"; |
| 111 |
| 104 // Enables the tab switcher. | 112 // Enables the tab switcher. |
| 105 const char kEnableTabSwitcher[] = "enable-tab-switcher"; | 113 const char kEnableTabSwitcher[] = "enable-tab-switcher"; |
| 106 | 114 |
| 107 // Enables Physical Web scanning for nearby URLs. | 115 // Enables Physical Web scanning for nearby URLs. |
| 108 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; | 116 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; |
| 109 | 117 |
| 110 // Enables the string change from "Save Image" to "Download Image". | 118 // Enables the string change from "Save Image" to "Download Image". |
| 111 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming"; | 119 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming"; |
| 112 | 120 |
| 113 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 121 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| (...skipping 18 matching lines...) Expand all Loading... |
| 132 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 140 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 133 | 141 |
| 134 // Allows for forcing socket connections to http/https to use fixed ports. | 142 // Allows for forcing socket connections to http/https to use fixed ports. |
| 135 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 143 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 136 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 144 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 137 | 145 |
| 138 // Enables grouping websites by domain and filtering them by period. | 146 // Enables grouping websites by domain and filtering them by period. |
| 139 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 147 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 140 | 148 |
| 141 } // namespace switches | 149 } // namespace switches |
| OLD | NEW |