| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 &kCCTBackgroundTab, | 50 &kCCTBackgroundTab, |
| 51 &kCCTExternalLinkHandling, | 51 &kCCTExternalLinkHandling, |
| 52 &kCCTPostMessageAPI, | 52 &kCCTPostMessageAPI, |
| 53 &kChromeHomeFeature, | 53 &kChromeHomeFeature, |
| 54 &kChromeHomeExpandButton, | 54 &kChromeHomeExpandButton, |
| 55 &kContentSuggestionsSettings, | 55 &kContentSuggestionsSettings, |
| 56 &kContextualSearchSingleActions, | 56 &kContextualSearchSingleActions, |
| 57 &kContextualSearchUrlActions, | 57 &kContextualSearchUrlActions, |
| 58 &kCustomContextMenu, | 58 &kCustomContextMenu, |
| 59 &kCustomFeedbackUi, | 59 &kCustomFeedbackUi, |
| 60 &kDownloadHomeShowStorageInfo, |
| 60 &data_reduction_proxy::features::kDataReductionMainMenu, | 61 &data_reduction_proxy::features::kDataReductionMainMenu, |
| 61 &data_reduction_proxy::features::kDataReductionSiteBreakdown, | 62 &data_reduction_proxy::features::kDataReductionSiteBreakdown, |
| 62 &kFullscreenActivity, | 63 &kFullscreenActivity, |
| 63 &kImportantSitesInCBD, | 64 &kImportantSitesInCBD, |
| 64 &kImprovedA2HS, | 65 &kImprovedA2HS, |
| 65 &kNewPhotoPicker, | 66 &kNewPhotoPicker, |
| 66 &kNoCreditCardAbort, | 67 &kNoCreditCardAbort, |
| 67 &kNTPCondensedLayoutFeature, | 68 &kNTPCondensedLayoutFeature, |
| 68 &kNTPCondensedTileLayoutFeature, | 69 &kNTPCondensedTileLayoutFeature, |
| 69 &kNTPLaunchAfterInactivity, | 70 &kNTPLaunchAfterInactivity, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 141 |
| 141 const base::Feature kCustomContextMenu{"CustomContextMenu", | 142 const base::Feature kCustomContextMenu{"CustomContextMenu", |
| 142 base::FEATURE_DISABLED_BY_DEFAULT}; | 143 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 143 | 144 |
| 144 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", | 145 const base::Feature kCustomFeedbackUi{"CustomFeedbackUi", |
| 145 base::FEATURE_DISABLED_BY_DEFAULT}; | 146 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 146 | 147 |
| 147 const base::Feature kDownloadAutoResumptionThrottling{ | 148 const base::Feature kDownloadAutoResumptionThrottling{ |
| 148 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 149 "DownloadAutoResumptionThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 149 | 150 |
| 151 const base::Feature kDownloadHomeShowStorageInfo{ |
| 152 "DownloadHomeShowStorageInfo", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 153 |
| 150 const base::Feature kFullscreenActivity{"FullscreenActivity", | 154 const base::Feature kFullscreenActivity{"FullscreenActivity", |
| 151 base::FEATURE_DISABLED_BY_DEFAULT}; | 155 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 152 | 156 |
| 153 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 157 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 154 base::FEATURE_DISABLED_BY_DEFAULT}; | 158 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 155 | 159 |
| 156 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 160 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
| 157 // URL which opens Chrome in fullscreen. | 161 // URL which opens Chrome in fullscreen. |
| 158 const base::Feature kImprovedA2HS{"ImprovedA2HS", | 162 const base::Feature kImprovedA2HS{"ImprovedA2HS", |
| 159 base::FEATURE_DISABLED_BY_DEFAULT}; | 163 base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 288 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 285 jdefault_value); | 289 jdefault_value); |
| 286 } | 290 } |
| 287 | 291 |
| 288 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 292 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 289 return RegisterNativesImpl(env); | 293 return RegisterNativesImpl(env); |
| 290 } | 294 } |
| 291 | 295 |
| 292 } // namespace android | 296 } // namespace android |
| 293 } // namespace chrome | 297 } // namespace chrome |
| OLD | NEW |