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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 &kContextualSearchSingleActions, | 51 &kContextualSearchSingleActions, |
52 &kContextualSearchUrlActions, | 52 &kContextualSearchUrlActions, |
53 &kCustomFeedbackUi, | 53 &kCustomFeedbackUi, |
54 &kImportantSitesInCBD, | 54 &kImportantSitesInCBD, |
55 &kImprovedA2HS, | 55 &kImprovedA2HS, |
56 &kNoCreditCardAbort, | 56 &kNoCreditCardAbort, |
57 &kNTPCondensedLayoutFeature, | 57 &kNTPCondensedLayoutFeature, |
58 &kNTPFakeOmniboxTextFeature, | 58 &kNTPFakeOmniboxTextFeature, |
59 &kNTPOfflinePagesFeature, | 59 &kNTPOfflinePagesFeature, |
60 &NTPShowGoogleGInOmniboxFeature, | 60 &NTPShowGoogleGInOmniboxFeature, |
61 &kNTPSuggestionsStandaloneUIFeature, | |
62 &kPhysicalWebFeature, | 61 &kPhysicalWebFeature, |
63 &kPhysicalWebSharing, | 62 &kPhysicalWebSharing, |
64 &kSpecialLocaleFeature, | 63 &kSpecialLocaleFeature, |
65 &kSpecialLocaleWrapper, | 64 &kSpecialLocaleWrapper, |
66 &kTabsInCBD, | 65 &kTabsInCBD, |
67 &kTabReparenting, | 66 &kTabReparenting, |
68 &kWebPaymentsModifiers, | 67 &kWebPaymentsModifiers, |
69 &kWebPaymentsSingleAppUiSkip, | 68 &kWebPaymentsSingleAppUiSkip, |
70 &kWebVRCardboardSupport, | 69 &kWebVRCardboardSupport, |
71 &ntp_snippets::kIncreasedVisibility, | 70 &ntp_snippets::kIncreasedVisibility, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 136 |
138 const base::Feature kNTPCondensedLayoutFeature{ | 137 const base::Feature kNTPCondensedLayoutFeature{ |
139 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; | 138 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
140 | 139 |
141 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 140 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
142 base::FEATURE_ENABLED_BY_DEFAULT}; | 141 base::FEATURE_ENABLED_BY_DEFAULT}; |
143 | 142 |
144 const base::Feature NTPShowGoogleGInOmniboxFeature{ | 143 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
145 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; | 144 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
146 | 145 |
147 const base::Feature kNTPSuggestionsStandaloneUIFeature{ | |
148 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; | |
149 | |
150 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 146 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
151 base::FEATURE_ENABLED_BY_DEFAULT}; | 147 base::FEATURE_ENABLED_BY_DEFAULT}; |
152 | 148 |
153 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", | 149 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", |
154 base::FEATURE_DISABLED_BY_DEFAULT}; | 150 base::FEATURE_DISABLED_BY_DEFAULT}; |
155 | 151 |
156 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 152 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
157 base::FEATURE_DISABLED_BY_DEFAULT}; | 153 base::FEATURE_DISABLED_BY_DEFAULT}; |
158 | 154 |
159 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 155 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 231 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
236 jdefault_value); | 232 jdefault_value); |
237 } | 233 } |
238 | 234 |
239 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 235 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
240 return RegisterNativesImpl(env); | 236 return RegisterNativesImpl(env); |
241 } | 237 } |
242 | 238 |
243 } // namespace android | 239 } // namespace android |
244 } // namespace chrome | 240 } // namespace chrome |
OLD | NEW |