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 "chrome/browser/android/chrome_feature_list.h" | 5 #include "chrome/browser/android/chrome_feature_list.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 &kChromeHomeFeature, | 48 &kChromeHomeFeature, |
49 &kContextualSearchSingleActions, | 49 &kContextualSearchSingleActions, |
50 &kContextualSearchUrlActions, | 50 &kContextualSearchUrlActions, |
51 &kCustomFeedbackUi, | 51 &kCustomFeedbackUi, |
52 &kImportantSitesInCBD, | 52 &kImportantSitesInCBD, |
53 &kImprovedA2HS, | 53 &kImprovedA2HS, |
54 &kNoCreditCardAbort, | 54 &kNoCreditCardAbort, |
55 &kNTPCondensedLayoutFeature, | 55 &kNTPCondensedLayoutFeature, |
56 &kNTPFakeOmniboxTextFeature, | 56 &kNTPFakeOmniboxTextFeature, |
57 &kNTPOfflinePagesFeature, | 57 &kNTPOfflinePagesFeature, |
| 58 &NTPShowGoogleGInOmniboxFeature, |
58 &kNTPSuggestionsStandaloneUIFeature, | 59 &kNTPSuggestionsStandaloneUIFeature, |
59 &kPhysicalWebFeature, | 60 &kPhysicalWebFeature, |
60 &kSpecialLocaleFeature, | 61 &kSpecialLocaleFeature, |
61 &kSpecialLocaleWrapper, | 62 &kSpecialLocaleWrapper, |
62 &kTabsInCBD, | 63 &kTabsInCBD, |
63 &kTabReparenting, | 64 &kTabReparenting, |
64 &kWebPaymentsModifiers, | 65 &kWebPaymentsModifiers, |
65 &kWebPaymentsSingleAppUiSkip, | 66 &kWebPaymentsSingleAppUiSkip, |
66 &kWebVRCardboardSupport, | 67 &kWebVRCardboardSupport, |
67 &ntp_snippets::kIncreasedVisibility, | 68 &ntp_snippets::kIncreasedVisibility, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 121 |
121 const base::Feature kNTPFakeOmniboxTextFeature{ | 122 const base::Feature kNTPFakeOmniboxTextFeature{ |
122 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 123 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
123 | 124 |
124 const base::Feature kNTPCondensedLayoutFeature{ | 125 const base::Feature kNTPCondensedLayoutFeature{ |
125 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; | 126 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
126 | 127 |
127 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 128 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
128 base::FEATURE_ENABLED_BY_DEFAULT}; | 129 base::FEATURE_ENABLED_BY_DEFAULT}; |
129 | 130 |
| 131 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
| 132 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 133 |
130 const base::Feature kNTPSuggestionsStandaloneUIFeature{ | 134 const base::Feature kNTPSuggestionsStandaloneUIFeature{ |
131 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; | 135 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; |
132 | 136 |
133 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 137 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
134 base::FEATURE_ENABLED_BY_DEFAULT}; | 138 base::FEATURE_ENABLED_BY_DEFAULT}; |
135 | 139 |
136 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 140 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
137 base::FEATURE_DISABLED_BY_DEFAULT}; | 141 base::FEATURE_DISABLED_BY_DEFAULT}; |
138 | 142 |
139 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 143 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 NOTREACHED(); | 192 NOTREACHED(); |
189 return jdefault_value; | 193 return jdefault_value; |
190 } | 194 } |
191 | 195 |
192 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 196 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
193 return RegisterNativesImpl(env); | 197 return RegisterNativesImpl(env); |
194 } | 198 } |
195 | 199 |
196 } // namespace android | 200 } // namespace android |
197 } // namespace chrome | 201 } // namespace chrome |
OLD | NEW |