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 // view when focused on form fields. | 33 // view when focused on form fields. |
34 const char kDisableIOSPasswordSuggestions[] = | 34 const char kDisableIOSPasswordSuggestions[] = |
35 "disable-ios-password-suggestions"; | 35 "disable-ios-password-suggestions"; |
36 | 36 |
37 // Disables the use of WKWebView instead of UIWebView. | 37 // Disables the use of WKWebView instead of UIWebView. |
38 const char kDisableIOSWKWebView[] = "disable-wkwebview"; | 38 const char kDisableIOSWKWebView[] = "disable-wkwebview"; |
39 | 39 |
40 // Disable the snapshots lru cache. | 40 // Disable the snapshots lru cache. |
41 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache"; | 41 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache"; |
42 | 42 |
43 // Disables NTP favicons. | |
44 const char kDisableNTPFavicons[] = "disable-ntp-favicons"; | |
45 | |
46 // Disable auto-reload of error pages if offline. | 43 // Disable auto-reload of error pages if offline. |
47 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; | 44 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
48 | 45 |
49 // Disables the tab eviction policy. (applicable iff WKWebView is enabled) | 46 // Disables the tab eviction policy. (applicable iff WKWebView is enabled) |
50 const char kDisableTabEviction[] = "disable-tab-eviction"; | 47 const char kDisableTabEviction[] = "disable-tab-eviction"; |
51 | 48 |
52 // Disables the tab switcher. | 49 // Disables the tab switcher. |
53 const char kDisableTabSwitcher[] = "disable-tab-switcher"; | 50 const char kDisableTabSwitcher[] = "disable-tab-switcher"; |
54 | 51 |
55 // Enables all bookmarks view in bookmark manager. | 52 // Enables all bookmarks view in bookmark manager. |
(...skipping 20 matching lines...) Expand all Loading... |
76 | 73 |
77 // Enable password generation for iOS. | 74 // Enable password generation for iOS. |
78 const char kEnableIOSPasswordGeneration[] = "enable-ios-password-generation"; | 75 const char kEnableIOSPasswordGeneration[] = "enable-ios-password-generation"; |
79 | 76 |
80 // Enables the use of WKWebView instead of UIWebView. | 77 // Enables the use of WKWebView instead of UIWebView. |
81 const char kEnableIOSWKWebView[] = "enable-wkwebview"; | 78 const char kEnableIOSWKWebView[] = "enable-wkwebview"; |
82 | 79 |
83 // Enables the snapshot lru cache. | 80 // Enables the snapshot lru cache. |
84 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; | 81 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; |
85 | 82 |
86 // Enables NTP favicons. | |
87 const char kEnableNTPFavicons[] = "enable-ntp-favicons"; | |
88 | |
89 // Enable auto-reload of error pages if offline. | 83 // Enable auto-reload of error pages if offline. |
90 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 84 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
91 | 85 |
92 // Enables context-sensitive reader mode button in the toolbar. | 86 // Enables context-sensitive reader mode button in the toolbar. |
93 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 87 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
94 | 88 |
95 // Enables the tab eviction policy. (applicable iff WKWebView is enabled) | 89 // Enables the tab eviction policy. (applicable iff WKWebView is enabled) |
96 const char kEnableTabEviction[] = "enable-tab-eviction"; | 90 const char kEnableTabEviction[] = "enable-tab-eviction"; |
97 | 91 |
98 // Enables the tab switcher. | 92 // Enables the tab switcher. |
(...skipping 26 matching lines...) Expand all Loading... |
125 | 119 |
126 // Enables grouping websites by domain and filtering them by period. | 120 // Enables grouping websites by domain and filtering them by period. |
127 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 121 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
128 | 122 |
129 // Use to opt-in to marking HTTP as non-secure. | 123 // Use to opt-in to marking HTTP as non-secure. |
130 const char kMarkNonSecureAs[] = "mark-non-secure-as"; | 124 const char kMarkNonSecureAs[] = "mark-non-secure-as"; |
131 const char kMarkNonSecureAsNeutral[] = "neutral"; | 125 const char kMarkNonSecureAsNeutral[] = "neutral"; |
132 const char kMarkNonSecureAsNonSecure[] = "non-secure"; | 126 const char kMarkNonSecureAsNonSecure[] = "non-secure"; |
133 | 127 |
134 } // namespace switches | 128 } // namespace switches |
OLD | NEW |