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