| 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 Spotlight actions. | |
| 44 const char kDisableSpotlightActions[] = "disable-spotlight-actions"; | |
| 45 | |
| 46 // Disables the tab strip auto scroll new tabs. | 43 // Disables the tab strip auto scroll new tabs. |
| 47 const char kDisableTabStripAutoScrollNewTabs[] = | 44 const char kDisableTabStripAutoScrollNewTabs[] = |
| 48 "disable-tab-strip-autoscroll-new-tabs"; | 45 "disable-tab-strip-autoscroll-new-tabs"; |
| 49 | 46 |
| 50 // Disables Physical Web scanning for nearby URLs. | 47 // Disables Physical Web scanning for nearby URLs. |
| 51 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; | 48 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; |
| 52 | 49 |
| 53 // Disables the string change from "Save Image" to "Download Image". | 50 // Disables the string change from "Save Image" to "Download Image". |
| 54 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; | 51 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; |
| 55 | 52 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 118 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 122 | 119 |
| 123 // Allows for forcing socket connections to http/https to use fixed ports. | 120 // Allows for forcing socket connections to http/https to use fixed ports. |
| 124 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 121 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 125 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 122 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 126 | 123 |
| 127 // Enables grouping websites by domain and filtering them by period. | 124 // Enables grouping websites by domain and filtering them by period. |
| 128 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 125 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 129 | 126 |
| 130 } // namespace switches | 127 } // namespace switches |
| OLD | NEW |