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