| 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 29 matching lines...) Expand all Loading... |
| 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 Spotlight actions. | 43 // Disables the Spotlight actions. |
| 44 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; | 44 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; |
| 45 | 45 |
| 46 // Disables the tab strip auto scroll new tabs. | 46 // Disables the tab strip auto scroll new tabs. |
| 47 const char kDisableTabStripAutoScrollNewTabs[] = | 47 const char kDisableTabStripAutoScrollNewTabs[] = |
| 48 "disable-tab-strip-autoscroll-new-tabs"; | 48 "disable-tab-strip-autoscroll-new-tabs"; |
| 49 | 49 |
| 50 // Disables the tab switcher. | |
| 51 const char kDisableTabSwitcher[] = "disable-tab-switcher"; | |
| 52 | |
| 53 // Disables Physical Web scanning for nearby URLs. | 50 // Disables Physical Web scanning for nearby URLs. |
| 54 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; | 51 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; |
| 55 | 52 |
| 56 // Disables the string change from "Save Image" to "Download Image". | 53 // Disables the string change from "Save Image" to "Download Image". |
| 57 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; | 54 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; |
| 58 | 55 |
| 59 // Disables the Suggestions UI | 56 // Disables the Suggestions UI |
| 60 const char kDisableSuggestionsUI[] = "disable-suggestions-ui"; | 57 const char kDisableSuggestionsUI[] = "disable-suggestions-ui"; |
| 61 | 58 |
| 62 // Enables Contextual Search. | 59 // Enables Contextual Search. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 86 | 83 |
| 87 // Enable the Payment Request API. | 84 // Enable the Payment Request API. |
| 88 const char kEnablePaymentRequest[] = "enable-payment-request"; | 85 const char kEnablePaymentRequest[] = "enable-payment-request"; |
| 89 | 86 |
| 90 // Enables context-sensitive reader mode button in the toolbar. | 87 // Enables context-sensitive reader mode button in the toolbar. |
| 91 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 88 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
| 92 | 89 |
| 93 // Enables the Spotlight actions. | 90 // Enables the Spotlight actions. |
| 94 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; | 91 const char kEnableSpotlightActions[] = "enable-spotlight-actions"; |
| 95 | 92 |
| 96 // Enables the tab switcher. | |
| 97 const char kEnableTabSwitcher[] = "enable-tab-switcher"; | |
| 98 | |
| 99 // Enables Physical Web scanning for nearby URLs. | 93 // Enables Physical Web scanning for nearby URLs. |
| 100 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; | 94 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; |
| 101 | 95 |
| 102 // Enables the string change from "Save Image" to "Download Image". | 96 // Enables the string change from "Save Image" to "Download Image". |
| 103 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming"; | 97 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming"; |
| 104 | 98 |
| 105 // Enables the Suggestions UI | 99 // Enables the Suggestions UI |
| 106 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; | 100 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; |
| 107 | 101 |
| 108 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 102 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| (...skipping 18 matching lines...) Expand all Loading... |
| 127 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 121 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 128 | 122 |
| 129 // Allows for forcing socket connections to http/https to use fixed ports. | 123 // Allows for forcing socket connections to http/https to use fixed ports. |
| 130 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 124 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 131 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 125 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 132 | 126 |
| 133 // Enables grouping websites by domain and filtering them by period. | 127 // Enables grouping websites by domain and filtering them by period. |
| 134 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 128 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 135 | 129 |
| 136 } // namespace switches | 130 } // namespace switches |
| OLD | NEW |