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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // Disables the Suggestions UI | 53 // Disables the Suggestions UI |
54 const char kDisableSuggestionsUI[] = "disable-suggestions-ui"; | 54 const char kDisableSuggestionsUI[] = "disable-suggestions-ui"; |
55 | 55 |
56 // Disables bookmark reordering. | 56 // Disables bookmark reordering. |
57 const char kDisableBookmarkReordering[] = "disable-bookmark-reordering"; | 57 const char kDisableBookmarkReordering[] = "disable-bookmark-reordering"; |
58 | 58 |
59 // Disables the WKBackForwardList based navigation manager experiment. | 59 // Disables the WKBackForwardList based navigation manager experiment. |
60 const char kDisableSlimNavigationManager[] = "disable-slim-navigation-manager"; | 60 const char kDisableSlimNavigationManager[] = "disable-slim-navigation-manager"; |
61 | 61 |
| 62 // Disables the 3rd party keyboard omnibox workaround. |
| 63 const char kDisableThirdPartyKeyboardWorkaround[] = |
| 64 "disable-third-party-keyboard-workaround"; |
| 65 |
62 // Enables Contextual Search. | 66 // Enables Contextual Search. |
63 const char kEnableContextualSearch[] = "enable-contextual-search"; | 67 const char kEnableContextualSearch[] = "enable-contextual-search"; |
64 | 68 |
65 // Enables a workaround for fast inset updates for UIWebView.scrollView. | 69 // Enables a workaround for fast inset updates for UIWebView.scrollView. |
66 const char kEnableIOSFastWebScrollViewInsets[] = | 70 const char kEnableIOSFastWebScrollViewInsets[] = |
67 "enable-fast-web-scroll-view-insets"; | 71 "enable-fast-web-scroll-view-insets"; |
68 | 72 |
69 // Lists separated by commas the name of features to disable. | 73 // Lists separated by commas the name of features to disable. |
70 // See base::FeatureList::InitializeFromCommandLine for details. | 74 // See base::FeatureList::InitializeFromCommandLine for details. |
71 const char kEnableIOSFeatures[] = "enable-features"; | 75 const char kEnableIOSFeatures[] = "enable-features"; |
(...skipping 26 matching lines...) Expand all Loading... |
98 | 102 |
99 // Enables the Suggestions UI | 103 // Enables the Suggestions UI |
100 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; | 104 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; |
101 | 105 |
102 // Enables bookmark reordering. | 106 // Enables bookmark reordering. |
103 const char kEnableBookmarkReordering[] = "enable-bookmark-reordering"; | 107 const char kEnableBookmarkReordering[] = "enable-bookmark-reordering"; |
104 | 108 |
105 // Enables the WKBackForwardList based navigation manager experiment. | 109 // Enables the WKBackForwardList based navigation manager experiment. |
106 const char kEnableSlimNavigationManager[] = "enable-slim-navigation-manager"; | 110 const char kEnableSlimNavigationManager[] = "enable-slim-navigation-manager"; |
107 | 111 |
| 112 // Enables the 3rd party keyboard omnibox workaround. |
| 113 const char kEnableThirdPartyKeyboardWorkaround[] = |
| 114 "enable-third-party-keyboard-workaround"; |
| 115 |
108 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 116 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
109 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 117 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
110 // prefixed with the character "t" will be treated as Trigger Variation Ids. | 118 // prefixed with the character "t" will be treated as Trigger Variation Ids. |
111 const char kIOSForceVariationIds[] = "force-variation-ids"; | 119 const char kIOSForceVariationIds[] = "force-variation-ids"; |
112 | 120 |
113 // A string used to override the default user agent with a custom one. | 121 // A string used to override the default user agent with a custom one. |
114 const char kUserAgent[] = "user-agent"; | 122 const char kUserAgent[] = "user-agent"; |
115 | 123 |
116 // These mappings only apply to the host resolver. | 124 // These mappings only apply to the host resolver. |
117 const char kIOSHostResolverRules[] = "host-resolver-rules"; | 125 const char kIOSHostResolverRules[] = "host-resolver-rules"; |
118 | 126 |
119 // Ignores certificate-related errors. | 127 // Ignores certificate-related errors. |
120 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 128 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
121 | 129 |
122 // Allows for forcing socket connections to http/https to use fixed ports. | 130 // Allows for forcing socket connections to http/https to use fixed ports. |
123 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 131 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
124 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 132 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
125 | 133 |
126 } // namespace switches | 134 } // namespace switches |
OLD | NEW |