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