| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 136 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 133 | 137 |
| 134 // Allows for forcing socket connections to http/https to use fixed ports. | 138 // Allows for forcing socket connections to http/https to use fixed ports. |
| 135 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 139 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 136 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 140 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 137 | 141 |
| 138 // Enables grouping websites by domain and filtering them by period. | 142 // Enables grouping websites by domain and filtering them by period. |
| 139 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 143 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
| 140 | 144 |
| 141 } // namespace switches | 145 } // namespace switches |
| OLD | NEW |