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 &kCCTExternalLinkHandling, | 48 &kCCTExternalLinkHandling, |
49 &kCCTPostMessageAPI, | 49 &kCCTPostMessageAPI, |
50 &kChromeHomeFeature, | 50 &kChromeHomeFeature, |
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 &kNTPCondensedTileLayoutFeature, |
58 &kNTPFakeOmniboxTextFeature, | 59 &kNTPFakeOmniboxTextFeature, |
59 &kNTPOfflinePagesFeature, | 60 &kNTPOfflinePagesFeature, |
60 &NTPShowGoogleGInOmniboxFeature, | 61 &NTPShowGoogleGInOmniboxFeature, |
61 &kNTPSuggestionsStandaloneUIFeature, | 62 &kNTPSuggestionsStandaloneUIFeature, |
62 &kPhysicalWebFeature, | 63 &kPhysicalWebFeature, |
63 &kPhysicalWebSharing, | 64 &kPhysicalWebSharing, |
64 &kSpecialLocaleFeature, | 65 &kSpecialLocaleFeature, |
65 &kSpecialLocaleWrapper, | 66 &kSpecialLocaleWrapper, |
66 &kTabsInCBD, | 67 &kTabsInCBD, |
67 &kTabReparenting, | 68 &kTabReparenting, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 132 |
132 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", | 133 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", |
133 base::FEATURE_DISABLED_BY_DEFAULT}; | 134 base::FEATURE_DISABLED_BY_DEFAULT}; |
134 | 135 |
135 const base::Feature kNTPFakeOmniboxTextFeature{ | 136 const base::Feature kNTPFakeOmniboxTextFeature{ |
136 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 137 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
137 | 138 |
138 const base::Feature kNTPCondensedLayoutFeature{ | 139 const base::Feature kNTPCondensedLayoutFeature{ |
139 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; | 140 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
140 | 141 |
| 142 const base::Feature kNTPCondensedTileLayoutFeature{ |
| 143 "NTPCondensedTileLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 144 |
141 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 145 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
142 base::FEATURE_ENABLED_BY_DEFAULT}; | 146 base::FEATURE_ENABLED_BY_DEFAULT}; |
143 | 147 |
144 const base::Feature NTPShowGoogleGInOmniboxFeature{ | 148 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
145 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; | 149 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
146 | 150 |
147 const base::Feature kNTPSuggestionsStandaloneUIFeature{ | 151 const base::Feature kNTPSuggestionsStandaloneUIFeature{ |
148 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; |
149 | 153 |
150 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 154 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 239 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
236 jdefault_value); | 240 jdefault_value); |
237 } | 241 } |
238 | 242 |
239 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 243 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
240 return RegisterNativesImpl(env); | 244 return RegisterNativesImpl(env); |
241 } | 245 } |
242 | 246 |
243 } // namespace android | 247 } // namespace android |
244 } // namespace chrome | 248 } // namespace chrome |
OLD | NEW |